comfortable_mexican_sofa 1.11.2 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -2
  3. data/CONTRIBUTING.md +29 -0
  4. data/README.md +24 -15
  5. data/Rakefile +12 -4
  6. data/app/assets/javascripts/comfortable_mexican_sofa/application.js.coffee +11 -10
  7. data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff.js.coffee +9 -0
  8. data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff/diff_match_patch.min.js +49 -0
  9. data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff/pretty_text_diff.min.js +5 -0
  10. data/app/assets/stylesheets/comfortable_mexican_sofa/application.css.sass +7 -9
  11. data/app/assets/stylesheets/comfortable_mexican_sofa/base.css.sass +45 -15
  12. data/app/assets/stylesheets/comfortable_mexican_sofa/bootstrap_overrides.css.sass +21 -41
  13. data/app/controllers/{admin → comfy/admin}/cms/base_controller.rb +9 -8
  14. data/app/controllers/{admin → comfy/admin}/cms/categories_controller.rb +1 -1
  15. data/app/controllers/{admin → comfy/admin}/cms/files_controller.rb +11 -11
  16. data/app/controllers/{admin → comfy/admin}/cms/layouts_controller.rb +10 -10
  17. data/app/controllers/{admin → comfy/admin}/cms/pages_controller.rb +16 -12
  18. data/app/controllers/{admin → comfy/admin}/cms/revisions_controller.rb +12 -12
  19. data/app/controllers/{admin → comfy/admin}/cms/sites_controller.rb +13 -13
  20. data/app/controllers/{admin → comfy/admin}/cms/snippets_controller.rb +9 -9
  21. data/app/controllers/{cms → comfy/cms}/assets_controller.rb +1 -1
  22. data/app/controllers/{cms → comfy/cms}/base_controller.rb +4 -4
  23. data/app/controllers/{cms → comfy/cms}/content_controller.rb +9 -6
  24. data/app/models/{cms → comfy/cms}/block.rb +13 -10
  25. data/app/models/{cms → comfy/cms}/categorization.rb +2 -2
  26. data/app/models/{cms → comfy/cms}/category.rb +2 -2
  27. data/app/models/{cms → comfy/cms}/file.rb +12 -11
  28. data/app/models/{cms → comfy/cms}/layout.rb +10 -8
  29. data/app/models/{cms → comfy/cms}/page.rb +6 -82
  30. data/app/models/{cms → comfy/cms}/revision.rb +2 -2
  31. data/app/models/{cms → comfy/cms}/site.rb +6 -6
  32. data/app/models/{cms → comfy/cms}/snippet.rb +7 -7
  33. data/app/views/{admin → comfy/admin}/cms/categories/_categories.html.haml +0 -0
  34. data/app/views/comfy/admin/cms/categories/_edit.html.haml +6 -0
  35. data/app/views/{admin → comfy/admin}/cms/categories/_form.html.haml +2 -2
  36. data/app/views/comfy/admin/cms/categories/_index.html.haml +25 -0
  37. data/app/views/{admin → comfy/admin}/cms/categories/_show.html.haml +3 -3
  38. data/app/views/{admin → comfy/admin}/cms/categories/create.js.erb +0 -0
  39. data/app/views/{admin → comfy/admin}/cms/categories/destroy.js.erb +0 -0
  40. data/app/views/{admin → comfy/admin}/cms/categories/edit.js.erb +0 -0
  41. data/app/views/{admin → comfy/admin}/cms/categories/update.js.erb +0 -0
  42. data/app/views/{admin → comfy/admin}/cms/files/_file.html.haml +2 -2
  43. data/app/views/comfy/admin/cms/files/_form.html.haml +19 -0
  44. data/app/views/comfy/admin/cms/files/_index.html.haml +11 -0
  45. data/app/views/{admin → comfy/admin}/cms/files/_page_form.html.haml +2 -2
  46. data/app/views/{admin → comfy/admin}/cms/files/destroy.js.coffee +0 -0
  47. data/app/views/{admin → comfy/admin}/cms/files/edit.html.haml +0 -0
  48. data/app/views/comfy/admin/cms/files/index.html.haml +31 -0
  49. data/app/views/{admin → comfy/admin}/cms/files/new.html.haml +0 -0
  50. data/app/views/{admin → comfy/admin}/cms/layouts/_form.html.haml +6 -6
  51. data/app/views/comfy/admin/cms/layouts/_index_branch.html.haml +23 -0
  52. data/app/views/comfy/admin/cms/layouts/edit.html.haml +9 -0
  53. data/app/views/comfy/admin/cms/layouts/index.html.haml +13 -0
  54. data/app/views/{admin → comfy/admin}/cms/layouts/new.html.haml +0 -0
  55. data/app/views/comfy/admin/cms/pages/_form.html.haml +40 -0
  56. data/app/views/{admin → comfy/admin}/cms/pages/_form_blocks.html.haml +4 -3
  57. data/app/views/{admin → comfy/admin}/cms/pages/_index_branch.html.haml +7 -7
  58. data/app/views/comfy/admin/cms/pages/edit.html.haml +9 -0
  59. data/app/views/{admin → comfy/admin}/cms/pages/form_blocks.js.erb +0 -0
  60. data/app/views/comfy/admin/cms/pages/index.html.haml +15 -0
  61. data/app/views/{admin → comfy/admin}/cms/pages/new.html.haml +0 -0
  62. data/app/views/{admin → comfy/admin}/cms/pages/toggle_branch.js.erb +1 -1
  63. data/app/views/{admin → comfy/admin}/cms/partials/_body_before.html.haml +0 -0
  64. data/app/views/{admin → comfy/admin}/cms/partials/_file_form_after.html.haml +0 -0
  65. data/app/views/{admin → comfy/admin}/cms/partials/_file_form_before.html.haml +0 -0
  66. data/app/views/{admin → comfy/admin}/cms/partials/_files_after.html.haml +0 -0
  67. data/app/views/{admin → comfy/admin}/cms/partials/_files_before.html.haml +0 -0
  68. data/app/views/{admin → comfy/admin}/cms/partials/_html_footer.html.haml +0 -0
  69. data/app/views/{admin → comfy/admin}/cms/partials/_html_head.html.haml +0 -0
  70. data/app/views/{admin → comfy/admin}/cms/partials/_layout_form_after.html.haml +0 -0
  71. data/app/views/{admin → comfy/admin}/cms/partials/_layout_form_before.html.haml +0 -0
  72. data/app/views/{admin → comfy/admin}/cms/partials/_layouts_after.html.haml +0 -0
  73. data/app/views/{admin → comfy/admin}/cms/partials/_layouts_before.html.haml +0 -0
  74. data/app/views/{admin → comfy/admin}/cms/partials/_navigation_after.html.haml +0 -0
  75. data/app/views/{admin → comfy/admin}/cms/partials/_navigation_before.html.haml +0 -0
  76. data/app/views/{admin → comfy/admin}/cms/partials/_navigation_inner.html.haml +0 -0
  77. data/app/views/{admin → comfy/admin}/cms/partials/_page_form_after.html.haml +0 -0
  78. data/app/views/{admin → comfy/admin}/cms/partials/_page_form_before.html.haml +0 -0
  79. data/app/views/{admin → comfy/admin}/cms/partials/_page_form_inner.html.haml +0 -0
  80. data/app/views/{admin → comfy/admin}/cms/partials/_pages_after.html.haml +0 -0
  81. data/app/views/{admin → comfy/admin}/cms/partials/_pages_before.html.haml +0 -0
  82. data/app/views/{admin → comfy/admin}/cms/partials/_right_column_after.html.haml +0 -0
  83. data/app/views/{admin → comfy/admin}/cms/partials/_right_column_before.html.haml +0 -0
  84. data/app/views/{admin → comfy/admin}/cms/partials/_site_form_after.html.haml +0 -0
  85. data/app/views/{admin → comfy/admin}/cms/partials/_site_form_before.html.haml +0 -0
  86. data/app/views/{admin → comfy/admin}/cms/partials/_sites_after.html.haml +0 -0
  87. data/app/views/{admin → comfy/admin}/cms/partials/_sites_before.html.haml +0 -0
  88. data/app/views/{admin → comfy/admin}/cms/partials/_snippet_form_after.html.haml +0 -0
  89. data/app/views/{admin → comfy/admin}/cms/partials/_snippet_form_before.html.haml +0 -0
  90. data/app/views/{admin → comfy/admin}/cms/partials/_snippets_after.html.haml +0 -0
  91. data/app/views/{admin → comfy/admin}/cms/partials/_snippets_before.html.haml +0 -0
  92. data/app/views/comfy/admin/cms/revisions/show.html.haml +35 -0
  93. data/app/views/comfy/admin/cms/sites/_form.html.haml +14 -0
  94. data/app/views/comfy/admin/cms/sites/_mirrors.html.haml +18 -0
  95. data/app/views/{admin → comfy/admin}/cms/sites/edit.html.haml +0 -0
  96. data/app/views/comfy/admin/cms/sites/index.html.haml +28 -0
  97. data/app/views/{admin → comfy/admin}/cms/sites/new.html.haml +0 -0
  98. data/app/views/comfy/admin/cms/snippets/_form.html.haml +15 -0
  99. data/app/views/{admin → comfy/admin}/cms/snippets/edit.html.haml +2 -2
  100. data/app/views/comfy/admin/cms/snippets/index.html.haml +32 -0
  101. data/app/views/{admin → comfy/admin}/cms/snippets/new.html.haml +0 -0
  102. data/app/views/{cms → comfy/cms}/content/render_sitemap.xml.builder +0 -0
  103. data/app/views/kaminari/{_first_page.html.haml → comfy/_first_page.html.haml} +0 -0
  104. data/app/views/kaminari/{_gap.html.haml → comfy/_gap.html.haml} +0 -0
  105. data/app/views/kaminari/{_last_page.html.haml → comfy/_last_page.html.haml} +0 -0
  106. data/app/views/kaminari/{_next_page.html.haml → comfy/_next_page.html.haml} +0 -0
  107. data/app/views/kaminari/{_page.html.haml → comfy/_page.html.haml} +0 -0
  108. data/app/views/kaminari/{_paginator.html.haml → comfy/_paginator.html.haml} +0 -0
  109. data/app/views/kaminari/{_prev_page.html.haml → comfy/_prev_page.html.haml} +0 -0
  110. data/app/views/layouts/comfy/admin/cms.html.haml +4 -0
  111. data/app/views/layouts/comfy/admin/cms/_body.html.haml +17 -0
  112. data/app/views/layouts/{admin → comfy/admin}/cms/_center.html.haml +0 -0
  113. data/app/views/layouts/{admin → comfy/admin}/cms/_footer.html.haml +0 -0
  114. data/app/views/layouts/{admin → comfy/admin}/cms/_footer_js.html.haml +2 -2
  115. data/app/views/layouts/{admin → comfy/admin}/cms/_head.html.haml +1 -1
  116. data/app/views/layouts/comfy/admin/cms/_left.html.haml +16 -0
  117. data/app/views/layouts/comfy/admin/cms/_right.html.haml +5 -0
  118. data/comfortable_mexican_sofa.gemspec +6 -4
  119. data/config/initializers/comfortable_mexican_sofa.rb +0 -5
  120. data/config/locales/da.yml +233 -0
  121. data/config/locales/de.yml +203 -214
  122. data/config/locales/en.yml +198 -210
  123. data/config/locales/es.yml +195 -207
  124. data/config/locales/fr.yml +195 -207
  125. data/config/locales/it.yml +201 -212
  126. data/config/locales/ja.yml +195 -208
  127. data/config/locales/nl.yml +201 -213
  128. data/config/locales/pl.yml +195 -207
  129. data/config/locales/pt-BR.yml +196 -208
  130. data/config/locales/ru.yml +203 -213
  131. data/config/locales/sv.yml +194 -206
  132. data/config/locales/zh-CN.yml +201 -213
  133. data/db/cms_fixtures/sample-site/layouts/default/nested/content.haml +3 -0
  134. data/db/cms_fixtures/sample-site/pages/index/child/left.haml +1 -0
  135. data/db/cms_fixtures/sample-site/pages/index/child/thumbnail.png +0 -0
  136. data/db/migrate/01_create_cms.rb +40 -38
  137. data/db/upgrade_migrations/08_upgrade_to_1_12_0.rb +41 -0
  138. data/lib/comfortable_mexican_sofa.rb +1 -0
  139. data/lib/comfortable_mexican_sofa/configuration.rb +2 -8
  140. data/lib/comfortable_mexican_sofa/engine.rb +3 -1
  141. data/lib/comfortable_mexican_sofa/extensions/acts_as_tree.rb +6 -0
  142. data/lib/comfortable_mexican_sofa/extensions/cms_manageable.rb +106 -0
  143. data/lib/comfortable_mexican_sofa/extensions/has_revisions.rb +2 -1
  144. data/lib/comfortable_mexican_sofa/extensions/is_categorized.rb +4 -4
  145. data/lib/comfortable_mexican_sofa/extensions/is_mirrored.rb +8 -8
  146. data/lib/comfortable_mexican_sofa/fixture.rb +2 -9
  147. data/lib/comfortable_mexican_sofa/fixture/category.rb +6 -6
  148. data/lib/comfortable_mexican_sofa/fixture/file.rb +1 -1
  149. data/lib/comfortable_mexican_sofa/fixture/layout.rb +8 -3
  150. data/lib/comfortable_mexican_sofa/fixture/page.rb +13 -3
  151. data/lib/comfortable_mexican_sofa/fixture/snippet.rb +7 -3
  152. data/lib/comfortable_mexican_sofa/form_builder.rb +30 -17
  153. data/lib/comfortable_mexican_sofa/render_methods.rb +58 -50
  154. data/lib/comfortable_mexican_sofa/routes/cms.rb +12 -10
  155. data/lib/comfortable_mexican_sofa/routes/cms_admin.rb +26 -24
  156. data/lib/comfortable_mexican_sofa/tag.rb +14 -14
  157. data/lib/comfortable_mexican_sofa/tags/asset.rb +3 -3
  158. data/lib/comfortable_mexican_sofa/tags/file.rb +2 -2
  159. data/lib/comfortable_mexican_sofa/tags/page_file.rb +29 -18
  160. data/lib/comfortable_mexican_sofa/tags/page_files.rb +34 -35
  161. data/lib/comfortable_mexican_sofa/tags/snippet.rb +3 -3
  162. data/lib/comfortable_mexican_sofa/version.rb +1 -1
  163. data/lib/comfortable_mexican_sofa/view_methods.rb +67 -74
  164. data/lib/generators/comfy/scaffold/scaffold_generator.rb +1 -1
  165. data/lib/generators/comfy/scaffold/templates/controller.rb +4 -4
  166. data/lib/generators/comfy/scaffold/templates/tests/controller.rb +3 -3
  167. data/lib/generators/comfy/scaffold/templates/views/_form.haml +1 -1
  168. data/lib/generators/comfy/scaffold/templates/views/index.haml +6 -6
  169. data/test/controllers/{admin → comfy/admin}/cms/base_controller_test.rb +3 -3
  170. data/test/controllers/comfy/admin/cms/categories_controller_test.rb +70 -0
  171. data/test/controllers/{admin → comfy/admin}/cms/files_controller_test.rb +53 -45
  172. data/test/controllers/{admin → comfy/admin}/cms/layouts_controller_test.rb +29 -29
  173. data/test/controllers/{admin → comfy/admin}/cms/pages_controller_test.rb +111 -110
  174. data/test/controllers/comfy/admin/cms/revisions_controller_test.rb +138 -0
  175. data/test/controllers/{admin → comfy/admin}/cms/sites_controller_test.rb +15 -15
  176. data/test/controllers/{admin → comfy/admin}/cms/snippets_controller_test.rb +29 -29
  177. data/test/controllers/comfy/cms/assets_controller_test.rb +38 -0
  178. data/test/controllers/{cms → comfy/cms}/content_controller_test.rb +28 -28
  179. data/test/fixtures/{cms → comfy/cms}/blocks.yml +2 -2
  180. data/test/fixtures/{cms → comfy/cms}/categories.yml +1 -1
  181. data/test/fixtures/comfy/cms/categorizations.yml +3 -0
  182. data/test/fixtures/{cms → comfy/cms}/files.yml +0 -0
  183. data/test/fixtures/{cms → comfy/cms}/layouts.yml +0 -0
  184. data/test/fixtures/{cms → comfy/cms}/pages.yml +2 -2
  185. data/test/fixtures/{cms → comfy/cms}/revisions.yml +3 -3
  186. data/test/fixtures/{cms → comfy/cms}/sites.yml +0 -0
  187. data/test/fixtures/{cms → comfy/cms}/snippets.yml +0 -0
  188. data/test/fixtures/generators/scaffold/controller.rb +4 -4
  189. data/test/fixtures/generators/scaffold/tests/controller.rb +3 -3
  190. data/test/fixtures/generators/scaffold/views/_form.haml +1 -1
  191. data/test/fixtures/generators/scaffold/views/index.haml +6 -6
  192. data/test/gemfiles/Gemfile.rails.4.0 +4 -2
  193. data/test/gemfiles/Gemfile.rails.4.1 +5 -3
  194. data/test/gemfiles/Gemfile.rails.master +22 -0
  195. data/test/generators/scaffold_generator_test.rb +1 -1
  196. data/test/integration/authentication_test.rb +2 -2
  197. data/test/integration/fixtures_test.rb +26 -24
  198. data/test/integration/mirrors_test.rb +14 -14
  199. data/test/integration/render_cms_test.rb +17 -16
  200. data/test/integration/sites_test.rb +21 -21
  201. data/test/integration/view_hooks_test.rb +7 -7
  202. data/test/lib/configuration_test.rb +1 -5
  203. data/test/lib/fixtures/categories_test.rb +8 -8
  204. data/test/lib/fixtures/files_test.rb +11 -11
  205. data/test/lib/fixtures/layouts_test.rb +19 -19
  206. data/test/lib/fixtures/pages_test.rb +24 -24
  207. data/test/lib/fixtures/snippets_test.rb +14 -14
  208. data/test/lib/fixtures_test.rb +8 -8
  209. data/test/lib/mirrors_test.rb +25 -25
  210. data/test/lib/revisions_test.rb +26 -26
  211. data/test/lib/tag_test.rb +26 -26
  212. data/test/lib/tags/asset_test.rb +11 -11
  213. data/test/lib/tags/collection_test.rb +33 -32
  214. data/test/lib/tags/field_boolean_test.rb +6 -6
  215. data/test/lib/tags/field_datetime_test.rb +6 -6
  216. data/test/lib/tags/field_integer_test.rb +6 -6
  217. data/test/lib/tags/field_rich_text_test.rb +6 -6
  218. data/test/lib/tags/field_string_test.rb +7 -7
  219. data/test/lib/tags/field_text_test.rb +6 -6
  220. data/test/lib/tags/file_test.rb +12 -12
  221. data/test/lib/tags/helper_test.rb +10 -10
  222. data/test/lib/tags/page_datetime_test.rb +6 -6
  223. data/test/lib/tags/page_file_test.rb +11 -11
  224. data/test/lib/tags/page_files_test.rb +12 -11
  225. data/test/lib/tags/page_integer_test.rb +6 -6
  226. data/test/lib/tags/page_markdown_test.rb +6 -6
  227. data/test/lib/tags/page_rich_text_test.rb +6 -6
  228. data/test/lib/tags/page_string_test.rb +6 -6
  229. data/test/lib/tags/page_text_test.rb +7 -7
  230. data/test/lib/tags/partial_test.rb +10 -10
  231. data/test/lib/tags/snippet_test.rb +6 -6
  232. data/test/lib/tags/template_test.rb +7 -7
  233. data/test/lib/view_methods_test.rb +89 -120
  234. data/test/models/block_test.rb +34 -34
  235. data/test/models/categorization_test.rb +25 -25
  236. data/test/models/category_test.rb +9 -9
  237. data/test/models/file_test.rb +38 -21
  238. data/test/models/layout_test.rb +27 -27
  239. data/test/models/page_test.rb +101 -71
  240. data/test/models/site_test.rb +50 -50
  241. data/test/models/snippet_test.rb +9 -9
  242. data/test/test_helper.rb +7 -9
  243. metadata +174 -147
  244. data/app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings-white.png +0 -0
  245. data/app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings.png +0 -0
  246. data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.js +0 -492
  247. data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap.js +0 -6
  248. data/app/assets/javascripts/comfortable_mexican_sofa/lib/wysihtml5.js +0 -261
  249. data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.css +0 -102
  250. data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap.css +0 -9
  251. data/app/assets/stylesheets/comfortable_mexican_sofa/wysihtml5_overrides.css.sass +0 -5
  252. data/app/models/concerns/cms/base.rb +0 -17
  253. data/app/views/admin/cms/categories/_edit.html.haml +0 -6
  254. data/app/views/admin/cms/categories/_index.html.haml +0 -24
  255. data/app/views/admin/cms/files/_form.html.haml +0 -18
  256. data/app/views/admin/cms/files/_index.html.haml +0 -14
  257. data/app/views/admin/cms/files/index.html.haml +0 -32
  258. data/app/views/admin/cms/layouts/_index_branch.html.haml +0 -23
  259. data/app/views/admin/cms/layouts/edit.html.haml +0 -9
  260. data/app/views/admin/cms/layouts/index.html.haml +0 -13
  261. data/app/views/admin/cms/pages/_form.html.haml +0 -39
  262. data/app/views/admin/cms/pages/edit.html.haml +0 -9
  263. data/app/views/admin/cms/pages/index.html.haml +0 -15
  264. data/app/views/admin/cms/revisions/show.html.haml +0 -29
  265. data/app/views/admin/cms/sites/_form.html.haml +0 -14
  266. data/app/views/admin/cms/sites/_mirrors.html.haml +0 -18
  267. data/app/views/admin/cms/sites/index.html.haml +0 -28
  268. data/app/views/admin/cms/snippets/_form.html.haml +0 -15
  269. data/app/views/admin/cms/snippets/index.html.haml +0 -32
  270. data/app/views/layouts/admin/cms.html.haml +0 -4
  271. data/app/views/layouts/admin/cms/_body.html.haml +0 -17
  272. data/app/views/layouts/admin/cms/_left.html.haml +0 -16
  273. data/app/views/layouts/admin/cms/_right.html.haml +0 -5
  274. data/db/cms_fixtures/sample-site/layouts/default/nested/content.html +0 -2
  275. data/db/cms_fixtures/sample-site/pages/index/child/left.html +0 -1
  276. data/doc/sofa.png +0 -0
  277. data/test/controllers/admin/cms/categories_controller_test.rb +0 -70
  278. data/test/controllers/admin/cms/revisions_controller_test.rb +0 -138
  279. data/test/controllers/cms/assets_controller_test.rb +0 -29
  280. data/test/fixtures/cms/categorizations.yml +0 -3
@@ -3,20 +3,20 @@ require_relative '../test_helper'
3
3
  class CmsSnippetTest < ActiveSupport::TestCase
4
4
 
5
5
  def test_fixtures_validity
6
- Cms::Snippet.all.each do |snippet|
6
+ Comfy::Cms::Snippet.all.each do |snippet|
7
7
  assert snippet.valid?, snippet.errors.full_messages.to_s
8
8
  end
9
9
  end
10
10
 
11
11
  def test_validations
12
- snippet = Cms::Snippet.new
12
+ snippet = Comfy::Cms::Snippet.new
13
13
  snippet.save
14
14
  assert snippet.invalid?
15
15
  assert_has_errors_on snippet, :site_id, :label, :identifier
16
16
  end
17
17
 
18
18
  def test_label_assignment
19
- snippet = cms_sites(:default).snippets.new(
19
+ snippet = comfy_cms_sites(:default).snippets.new(
20
20
  :identifier => 'test'
21
21
  )
22
22
  assert snippet.valid?
@@ -24,8 +24,8 @@ class CmsSnippetTest < ActiveSupport::TestCase
24
24
  end
25
25
 
26
26
  def test_create
27
- assert_difference 'Cms::Snippet.count' do
28
- snippet = cms_sites(:default).snippets.create(
27
+ assert_difference 'Comfy::Cms::Snippet.count' do
28
+ snippet = comfy_cms_sites(:default).snippets.create(
29
29
  :label => 'Test Snippet',
30
30
  :identifier => 'test',
31
31
  :content => 'Test Content'
@@ -38,12 +38,12 @@ class CmsSnippetTest < ActiveSupport::TestCase
38
38
  end
39
39
 
40
40
  def test_update_forces_page_content_reload
41
- snippet = cms_snippets(:default)
42
- page = cms_pages(:default)
43
- assert_match snippet.content, page.content
41
+ snippet = comfy_cms_snippets(:default)
42
+ page = comfy_cms_pages(:default)
43
+ assert_match snippet.content, page.content_cache
44
44
  snippet.update_attributes(:content => 'new_snippet_content')
45
45
  page.reload
46
- assert_match /new_snippet_content/, page.content
46
+ assert_match /new_snippet_content/, page.content_cache
47
47
  end
48
48
 
49
49
  end
@@ -1,10 +1,11 @@
1
1
  # encoding: utf-8
2
+ ENV['RAILS_ENV'] = 'test'
2
3
 
3
4
  require 'coveralls'
4
- Coveralls.wear!('rails')
5
+ Coveralls.wear! 'rails'
5
6
 
6
- ENV['RAILS_ENV'] = 'test'
7
7
  require_relative '../config/environment'
8
+
8
9
  require 'rails/test_help'
9
10
  require 'rails/generators'
10
11
  require 'mocha/setup'
@@ -32,11 +33,8 @@ class ActiveSupport::TestCase
32
33
  config.fixtures_path = File.expand_path('db/cms_fixtures', Rails.root)
33
34
  config.revisions_limit = 25
34
35
  config.locales = {
35
- 'en' => 'English',
36
- 'es' => 'Español',
37
- 'pt-BR' => 'Português Brasileiro',
38
- 'zh-CN' => '简体中文',
39
- 'ja' => '日本語'
36
+ 'en' => 'English',
37
+ 'es' => 'Español'
40
38
  }
41
39
  config.admin_locale = nil
42
40
  config.upload_file_options = { }
@@ -90,8 +88,8 @@ class ActiveSupport::TestCase
90
88
  end
91
89
 
92
90
  def stub_paperclip
93
- Cms::Block.any_instance.stubs(:save_attached_files).returns(true)
94
- Cms::Block.any_instance.stubs(:delete_attached_files).returns(true)
91
+ Comfy::Cms::Block.any_instance.stubs(:save_attached_files).returns(true)
92
+ Comfy::Cms::Block.any_instance.stubs(:delete_attached_files).returns(true)
95
93
  Paperclip::Attachment.any_instance.stubs(:post_process).returns(true)
96
94
  end
97
95
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.2
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Khabarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,19 +39,19 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 4.0.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: formatted_form
42
+ name: bootstrap_form
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 2.1.0
47
+ version: 2.1.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 2.1.0
54
+ version: 2.1.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: active_link_to
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - '>='
144
144
  - !ruby/object:Gem::Version
145
- version: 3.1.0
145
+ version: 4.0.3
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '>='
151
151
  - !ruby/object:Gem::Version
152
- version: 3.1.0
152
+ version: 4.0.3
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: coffee-rails
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -192,7 +192,35 @@ dependencies:
192
192
  - - '>='
193
193
  - !ruby/object:Gem::Version
194
194
  version: 0.14.0
195
- description: ComfortableMexicanSofa is a powerful CMS Engine for Rails 4 applications
195
+ - !ruby/object:Gem::Dependency
196
+ name: tinymce-rails
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - '>='
200
+ - !ruby/object:Gem::Version
201
+ version: 4.0.0
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - '>='
207
+ - !ruby/object:Gem::Version
208
+ version: 4.0.0
209
+ - !ruby/object:Gem::Dependency
210
+ name: bootstrap-sass
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ~>
214
+ - !ruby/object:Gem::Version
215
+ version: 3.1.0
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ~>
221
+ - !ruby/object:Gem::Version
222
+ version: 3.1.0
223
+ description: ComfortableMexicanSofa is a powerful Rails 4 CMS Engine
196
224
  email:
197
225
  - oleg@khabarov.ca
198
226
  executables: []
@@ -201,14 +229,13 @@ extra_rdoc_files: []
201
229
  files:
202
230
  - .gitignore
203
231
  - .travis.yml
232
+ - CONTRIBUTING.md
204
233
  - Gemfile
205
234
  - LICENSE
206
235
  - README.md
207
236
  - Rakefile
208
237
  - app/assets/images/comfortable_mexican_sofa/arrow_bottom.gif
209
238
  - app/assets/images/comfortable_mexican_sofa/arrow_right.gif
210
- - app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings-white.png
211
- - app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings.png
212
239
  - app/assets/images/comfortable_mexican_sofa/checkerboard.gif
213
240
  - app/assets/images/comfortable_mexican_sofa/icon_draft.gif
214
241
  - app/assets/images/comfortable_mexican_sofa/icon_file.gif
@@ -220,125 +247,121 @@ files:
220
247
  - app/assets/javascripts/comfortable_mexican_sofa/admin/application.js
221
248
  - app/assets/javascripts/comfortable_mexican_sofa/application.js.coffee
222
249
  - app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-datetimepicker.js
223
- - app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.js
224
- - app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap.js
225
- - app/assets/javascripts/comfortable_mexican_sofa/lib/wysihtml5.js
250
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/diff.js.coffee
251
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/diff/diff_match_patch.min.js
252
+ - app/assets/javascripts/comfortable_mexican_sofa/lib/diff/pretty_text_diff.min.js
226
253
  - app/assets/stylesheets/comfortable_mexican_sofa/admin/application.css
227
254
  - app/assets/stylesheets/comfortable_mexican_sofa/application.css.sass
228
255
  - app/assets/stylesheets/comfortable_mexican_sofa/base.css.sass
229
256
  - app/assets/stylesheets/comfortable_mexican_sofa/bootstrap_overrides.css.sass
230
257
  - app/assets/stylesheets/comfortable_mexican_sofa/codemirror_overrides.css.sass
231
258
  - app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-datetimepicker.css
232
- - app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.css
233
- - app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap.css
234
- - app/assets/stylesheets/comfortable_mexican_sofa/wysihtml5_overrides.css.sass
235
- - app/controllers/admin/cms/base_controller.rb
236
- - app/controllers/admin/cms/categories_controller.rb
237
- - app/controllers/admin/cms/files_controller.rb
238
- - app/controllers/admin/cms/layouts_controller.rb
239
- - app/controllers/admin/cms/pages_controller.rb
240
- - app/controllers/admin/cms/revisions_controller.rb
241
- - app/controllers/admin/cms/sites_controller.rb
242
- - app/controllers/admin/cms/snippets_controller.rb
243
259
  - app/controllers/application_controller.rb
244
- - app/controllers/cms/assets_controller.rb
245
- - app/controllers/cms/base_controller.rb
246
- - app/controllers/cms/content_controller.rb
247
- - app/models/cms/block.rb
248
- - app/models/cms/categorization.rb
249
- - app/models/cms/category.rb
250
- - app/models/cms/file.rb
251
- - app/models/cms/layout.rb
252
- - app/models/cms/page.rb
253
- - app/models/cms/revision.rb
254
- - app/models/cms/site.rb
255
- - app/models/cms/snippet.rb
256
- - app/models/concerns/cms/base.rb
257
- - app/views/admin/cms/categories/_categories.html.haml
258
- - app/views/admin/cms/categories/_edit.html.haml
259
- - app/views/admin/cms/categories/_form.html.haml
260
- - app/views/admin/cms/categories/_index.html.haml
261
- - app/views/admin/cms/categories/_show.html.haml
262
- - app/views/admin/cms/categories/create.js.erb
263
- - app/views/admin/cms/categories/destroy.js.erb
264
- - app/views/admin/cms/categories/edit.js.erb
265
- - app/views/admin/cms/categories/update.js.erb
266
- - app/views/admin/cms/files/_file.html.haml
267
- - app/views/admin/cms/files/_form.html.haml
268
- - app/views/admin/cms/files/_index.html.haml
269
- - app/views/admin/cms/files/_page_form.html.haml
270
- - app/views/admin/cms/files/destroy.js.coffee
271
- - app/views/admin/cms/files/edit.html.haml
272
- - app/views/admin/cms/files/index.html.haml
273
- - app/views/admin/cms/files/new.html.haml
274
- - app/views/admin/cms/layouts/_form.html.haml
275
- - app/views/admin/cms/layouts/_index_branch.html.haml
276
- - app/views/admin/cms/layouts/edit.html.haml
277
- - app/views/admin/cms/layouts/index.html.haml
278
- - app/views/admin/cms/layouts/new.html.haml
279
- - app/views/admin/cms/pages/_form.html.haml
280
- - app/views/admin/cms/pages/_form_blocks.html.haml
281
- - app/views/admin/cms/pages/_index_branch.html.haml
282
- - app/views/admin/cms/pages/edit.html.haml
283
- - app/views/admin/cms/pages/form_blocks.js.erb
284
- - app/views/admin/cms/pages/index.html.haml
285
- - app/views/admin/cms/pages/new.html.haml
286
- - app/views/admin/cms/pages/toggle_branch.js.erb
287
- - app/views/admin/cms/partials/_body_before.html.haml
288
- - app/views/admin/cms/partials/_file_form_after.html.haml
289
- - app/views/admin/cms/partials/_file_form_before.html.haml
290
- - app/views/admin/cms/partials/_files_after.html.haml
291
- - app/views/admin/cms/partials/_files_before.html.haml
292
- - app/views/admin/cms/partials/_html_footer.html.haml
293
- - app/views/admin/cms/partials/_html_head.html.haml
294
- - app/views/admin/cms/partials/_layout_form_after.html.haml
295
- - app/views/admin/cms/partials/_layout_form_before.html.haml
296
- - app/views/admin/cms/partials/_layouts_after.html.haml
297
- - app/views/admin/cms/partials/_layouts_before.html.haml
298
- - app/views/admin/cms/partials/_navigation_after.html.haml
299
- - app/views/admin/cms/partials/_navigation_before.html.haml
300
- - app/views/admin/cms/partials/_navigation_inner.html.haml
301
- - app/views/admin/cms/partials/_page_form_after.html.haml
302
- - app/views/admin/cms/partials/_page_form_before.html.haml
303
- - app/views/admin/cms/partials/_page_form_inner.html.haml
304
- - app/views/admin/cms/partials/_pages_after.html.haml
305
- - app/views/admin/cms/partials/_pages_before.html.haml
306
- - app/views/admin/cms/partials/_right_column_after.html.haml
307
- - app/views/admin/cms/partials/_right_column_before.html.haml
308
- - app/views/admin/cms/partials/_site_form_after.html.haml
309
- - app/views/admin/cms/partials/_site_form_before.html.haml
310
- - app/views/admin/cms/partials/_sites_after.html.haml
311
- - app/views/admin/cms/partials/_sites_before.html.haml
312
- - app/views/admin/cms/partials/_snippet_form_after.html.haml
313
- - app/views/admin/cms/partials/_snippet_form_before.html.haml
314
- - app/views/admin/cms/partials/_snippets_after.html.haml
315
- - app/views/admin/cms/partials/_snippets_before.html.haml
316
- - app/views/admin/cms/revisions/show.html.haml
317
- - app/views/admin/cms/sites/_form.html.haml
318
- - app/views/admin/cms/sites/_mirrors.html.haml
319
- - app/views/admin/cms/sites/edit.html.haml
320
- - app/views/admin/cms/sites/index.html.haml
321
- - app/views/admin/cms/sites/new.html.haml
322
- - app/views/admin/cms/snippets/_form.html.haml
323
- - app/views/admin/cms/snippets/edit.html.haml
324
- - app/views/admin/cms/snippets/index.html.haml
325
- - app/views/admin/cms/snippets/new.html.haml
326
- - app/views/cms/content/render_sitemap.xml.builder
327
- - app/views/kaminari/_first_page.html.haml
328
- - app/views/kaminari/_gap.html.haml
329
- - app/views/kaminari/_last_page.html.haml
330
- - app/views/kaminari/_next_page.html.haml
331
- - app/views/kaminari/_page.html.haml
332
- - app/views/kaminari/_paginator.html.haml
333
- - app/views/kaminari/_prev_page.html.haml
334
- - app/views/layouts/admin/cms.html.haml
335
- - app/views/layouts/admin/cms/_body.html.haml
336
- - app/views/layouts/admin/cms/_center.html.haml
337
- - app/views/layouts/admin/cms/_footer.html.haml
338
- - app/views/layouts/admin/cms/_footer_js.html.haml
339
- - app/views/layouts/admin/cms/_head.html.haml
340
- - app/views/layouts/admin/cms/_left.html.haml
341
- - app/views/layouts/admin/cms/_right.html.haml
260
+ - app/controllers/comfy/admin/cms/base_controller.rb
261
+ - app/controllers/comfy/admin/cms/categories_controller.rb
262
+ - app/controllers/comfy/admin/cms/files_controller.rb
263
+ - app/controllers/comfy/admin/cms/layouts_controller.rb
264
+ - app/controllers/comfy/admin/cms/pages_controller.rb
265
+ - app/controllers/comfy/admin/cms/revisions_controller.rb
266
+ - app/controllers/comfy/admin/cms/sites_controller.rb
267
+ - app/controllers/comfy/admin/cms/snippets_controller.rb
268
+ - app/controllers/comfy/cms/assets_controller.rb
269
+ - app/controllers/comfy/cms/base_controller.rb
270
+ - app/controllers/comfy/cms/content_controller.rb
271
+ - app/models/comfy/cms/block.rb
272
+ - app/models/comfy/cms/categorization.rb
273
+ - app/models/comfy/cms/category.rb
274
+ - app/models/comfy/cms/file.rb
275
+ - app/models/comfy/cms/layout.rb
276
+ - app/models/comfy/cms/page.rb
277
+ - app/models/comfy/cms/revision.rb
278
+ - app/models/comfy/cms/site.rb
279
+ - app/models/comfy/cms/snippet.rb
280
+ - app/views/comfy/admin/cms/categories/_categories.html.haml
281
+ - app/views/comfy/admin/cms/categories/_edit.html.haml
282
+ - app/views/comfy/admin/cms/categories/_form.html.haml
283
+ - app/views/comfy/admin/cms/categories/_index.html.haml
284
+ - app/views/comfy/admin/cms/categories/_show.html.haml
285
+ - app/views/comfy/admin/cms/categories/create.js.erb
286
+ - app/views/comfy/admin/cms/categories/destroy.js.erb
287
+ - app/views/comfy/admin/cms/categories/edit.js.erb
288
+ - app/views/comfy/admin/cms/categories/update.js.erb
289
+ - app/views/comfy/admin/cms/files/_file.html.haml
290
+ - app/views/comfy/admin/cms/files/_form.html.haml
291
+ - app/views/comfy/admin/cms/files/_index.html.haml
292
+ - app/views/comfy/admin/cms/files/_page_form.html.haml
293
+ - app/views/comfy/admin/cms/files/destroy.js.coffee
294
+ - app/views/comfy/admin/cms/files/edit.html.haml
295
+ - app/views/comfy/admin/cms/files/index.html.haml
296
+ - app/views/comfy/admin/cms/files/new.html.haml
297
+ - app/views/comfy/admin/cms/layouts/_form.html.haml
298
+ - app/views/comfy/admin/cms/layouts/_index_branch.html.haml
299
+ - app/views/comfy/admin/cms/layouts/edit.html.haml
300
+ - app/views/comfy/admin/cms/layouts/index.html.haml
301
+ - app/views/comfy/admin/cms/layouts/new.html.haml
302
+ - app/views/comfy/admin/cms/pages/_form.html.haml
303
+ - app/views/comfy/admin/cms/pages/_form_blocks.html.haml
304
+ - app/views/comfy/admin/cms/pages/_index_branch.html.haml
305
+ - app/views/comfy/admin/cms/pages/edit.html.haml
306
+ - app/views/comfy/admin/cms/pages/form_blocks.js.erb
307
+ - app/views/comfy/admin/cms/pages/index.html.haml
308
+ - app/views/comfy/admin/cms/pages/new.html.haml
309
+ - app/views/comfy/admin/cms/pages/toggle_branch.js.erb
310
+ - app/views/comfy/admin/cms/partials/_body_before.html.haml
311
+ - app/views/comfy/admin/cms/partials/_file_form_after.html.haml
312
+ - app/views/comfy/admin/cms/partials/_file_form_before.html.haml
313
+ - app/views/comfy/admin/cms/partials/_files_after.html.haml
314
+ - app/views/comfy/admin/cms/partials/_files_before.html.haml
315
+ - app/views/comfy/admin/cms/partials/_html_footer.html.haml
316
+ - app/views/comfy/admin/cms/partials/_html_head.html.haml
317
+ - app/views/comfy/admin/cms/partials/_layout_form_after.html.haml
318
+ - app/views/comfy/admin/cms/partials/_layout_form_before.html.haml
319
+ - app/views/comfy/admin/cms/partials/_layouts_after.html.haml
320
+ - app/views/comfy/admin/cms/partials/_layouts_before.html.haml
321
+ - app/views/comfy/admin/cms/partials/_navigation_after.html.haml
322
+ - app/views/comfy/admin/cms/partials/_navigation_before.html.haml
323
+ - app/views/comfy/admin/cms/partials/_navigation_inner.html.haml
324
+ - app/views/comfy/admin/cms/partials/_page_form_after.html.haml
325
+ - app/views/comfy/admin/cms/partials/_page_form_before.html.haml
326
+ - app/views/comfy/admin/cms/partials/_page_form_inner.html.haml
327
+ - app/views/comfy/admin/cms/partials/_pages_after.html.haml
328
+ - app/views/comfy/admin/cms/partials/_pages_before.html.haml
329
+ - app/views/comfy/admin/cms/partials/_right_column_after.html.haml
330
+ - app/views/comfy/admin/cms/partials/_right_column_before.html.haml
331
+ - app/views/comfy/admin/cms/partials/_site_form_after.html.haml
332
+ - app/views/comfy/admin/cms/partials/_site_form_before.html.haml
333
+ - app/views/comfy/admin/cms/partials/_sites_after.html.haml
334
+ - app/views/comfy/admin/cms/partials/_sites_before.html.haml
335
+ - app/views/comfy/admin/cms/partials/_snippet_form_after.html.haml
336
+ - app/views/comfy/admin/cms/partials/_snippet_form_before.html.haml
337
+ - app/views/comfy/admin/cms/partials/_snippets_after.html.haml
338
+ - app/views/comfy/admin/cms/partials/_snippets_before.html.haml
339
+ - app/views/comfy/admin/cms/revisions/show.html.haml
340
+ - app/views/comfy/admin/cms/sites/_form.html.haml
341
+ - app/views/comfy/admin/cms/sites/_mirrors.html.haml
342
+ - app/views/comfy/admin/cms/sites/edit.html.haml
343
+ - app/views/comfy/admin/cms/sites/index.html.haml
344
+ - app/views/comfy/admin/cms/sites/new.html.haml
345
+ - app/views/comfy/admin/cms/snippets/_form.html.haml
346
+ - app/views/comfy/admin/cms/snippets/edit.html.haml
347
+ - app/views/comfy/admin/cms/snippets/index.html.haml
348
+ - app/views/comfy/admin/cms/snippets/new.html.haml
349
+ - app/views/comfy/cms/content/render_sitemap.xml.builder
350
+ - app/views/kaminari/comfy/_first_page.html.haml
351
+ - app/views/kaminari/comfy/_gap.html.haml
352
+ - app/views/kaminari/comfy/_last_page.html.haml
353
+ - app/views/kaminari/comfy/_next_page.html.haml
354
+ - app/views/kaminari/comfy/_page.html.haml
355
+ - app/views/kaminari/comfy/_paginator.html.haml
356
+ - app/views/kaminari/comfy/_prev_page.html.haml
357
+ - app/views/layouts/comfy/admin/cms.html.haml
358
+ - app/views/layouts/comfy/admin/cms/_body.html.haml
359
+ - app/views/layouts/comfy/admin/cms/_center.html.haml
360
+ - app/views/layouts/comfy/admin/cms/_footer.html.haml
361
+ - app/views/layouts/comfy/admin/cms/_footer_js.html.haml
362
+ - app/views/layouts/comfy/admin/cms/_head.html.haml
363
+ - app/views/layouts/comfy/admin/cms/_left.html.haml
364
+ - app/views/layouts/comfy/admin/cms/_right.html.haml
342
365
  - comfortable_mexican_sofa.gemspec
343
366
  - config.ru
344
367
  - config/application.rb
@@ -351,6 +374,7 @@ files:
351
374
  - config/initializers/comfortable_mexican_sofa.rb
352
375
  - config/initializers/paperclip.rb
353
376
  - config/initializers/secret_token.rb
377
+ - config/locales/da.yml
354
378
  - config/locales/de.yml
355
379
  - config/locales/en.yml
356
380
  - config/locales/es.yml
@@ -372,14 +396,15 @@ files:
372
396
  - db/cms_fixtures/sample-site/layouts/default/content.html
373
397
  - db/cms_fixtures/sample-site/layouts/default/javascript.js
374
398
  - db/cms_fixtures/sample-site/layouts/default/nested/attributes.yml
375
- - db/cms_fixtures/sample-site/layouts/default/nested/content.html
399
+ - db/cms_fixtures/sample-site/layouts/default/nested/content.haml
376
400
  - db/cms_fixtures/sample-site/layouts/default/nested/javascript.js
377
401
  - db/cms_fixtures/sample-site/layouts/default/nested/stylesheet.css
378
402
  - db/cms_fixtures/sample-site/layouts/default/stylesheet.css
379
403
  - db/cms_fixtures/sample-site/pages/index/attributes.yml
380
404
  - db/cms_fixtures/sample-site/pages/index/child/attributes.yml
381
- - db/cms_fixtures/sample-site/pages/index/child/left.html
405
+ - db/cms_fixtures/sample-site/pages/index/child/left.haml
382
406
  - db/cms_fixtures/sample-site/pages/index/child/right.html
407
+ - db/cms_fixtures/sample-site/pages/index/child/thumbnail.png
383
408
  - db/cms_fixtures/sample-site/pages/index/content.html
384
409
  - db/cms_fixtures/sample-site/snippets/default/attributes.yml
385
410
  - db/cms_fixtures/sample-site/snippets/default/content.html
@@ -391,8 +416,8 @@ files:
391
416
  - db/upgrade_migrations/05_upgrade_to_1_4_0.rb
392
417
  - db/upgrade_migrations/06_upgrade_to_1_5_0.rb
393
418
  - db/upgrade_migrations/07_upgrade_to_1_6_0.rb
419
+ - db/upgrade_migrations/08_upgrade_to_1_12_0.rb
394
420
  - doc/preview.png
395
- - doc/sofa.png
396
421
  - lib/comfortable_mexican_sofa.rb
397
422
  - lib/comfortable_mexican_sofa/authentication/dummy_auth.rb
398
423
  - lib/comfortable_mexican_sofa/authentication/http_auth.rb
@@ -400,6 +425,7 @@ files:
400
425
  - lib/comfortable_mexican_sofa/engine.rb
401
426
  - lib/comfortable_mexican_sofa/error.rb
402
427
  - lib/comfortable_mexican_sofa/extensions/acts_as_tree.rb
428
+ - lib/comfortable_mexican_sofa/extensions/cms_manageable.rb
403
429
  - lib/comfortable_mexican_sofa/extensions/has_revisions.rb
404
430
  - lib/comfortable_mexican_sofa/extensions/is_categorized.rb
405
431
  - lib/comfortable_mexican_sofa/extensions/is_mirrored.rb
@@ -456,25 +482,25 @@ files:
456
482
  - lib/generators/comfy/scaffold/templates/views/show.haml
457
483
  - lib/tasks/comfortable_mexican_sofa.rake
458
484
  - script/rails
459
- - test/controllers/admin/cms/base_controller_test.rb
460
- - test/controllers/admin/cms/categories_controller_test.rb
461
- - test/controllers/admin/cms/files_controller_test.rb
462
- - test/controllers/admin/cms/layouts_controller_test.rb
463
- - test/controllers/admin/cms/pages_controller_test.rb
464
- - test/controllers/admin/cms/revisions_controller_test.rb
465
- - test/controllers/admin/cms/sites_controller_test.rb
466
- - test/controllers/admin/cms/snippets_controller_test.rb
467
- - test/controllers/cms/assets_controller_test.rb
468
- - test/controllers/cms/content_controller_test.rb
469
- - test/fixtures/cms/blocks.yml
470
- - test/fixtures/cms/categories.yml
471
- - test/fixtures/cms/categorizations.yml
472
- - test/fixtures/cms/files.yml
473
- - test/fixtures/cms/layouts.yml
474
- - test/fixtures/cms/pages.yml
475
- - test/fixtures/cms/revisions.yml
476
- - test/fixtures/cms/sites.yml
477
- - test/fixtures/cms/snippets.yml
485
+ - test/controllers/comfy/admin/cms/base_controller_test.rb
486
+ - test/controllers/comfy/admin/cms/categories_controller_test.rb
487
+ - test/controllers/comfy/admin/cms/files_controller_test.rb
488
+ - test/controllers/comfy/admin/cms/layouts_controller_test.rb
489
+ - test/controllers/comfy/admin/cms/pages_controller_test.rb
490
+ - test/controllers/comfy/admin/cms/revisions_controller_test.rb
491
+ - test/controllers/comfy/admin/cms/sites_controller_test.rb
492
+ - test/controllers/comfy/admin/cms/snippets_controller_test.rb
493
+ - test/controllers/comfy/cms/assets_controller_test.rb
494
+ - test/controllers/comfy/cms/content_controller_test.rb
495
+ - test/fixtures/comfy/cms/blocks.yml
496
+ - test/fixtures/comfy/cms/categories.yml
497
+ - test/fixtures/comfy/cms/categorizations.yml
498
+ - test/fixtures/comfy/cms/files.yml
499
+ - test/fixtures/comfy/cms/layouts.yml
500
+ - test/fixtures/comfy/cms/pages.yml
501
+ - test/fixtures/comfy/cms/revisions.yml
502
+ - test/fixtures/comfy/cms/sites.yml
503
+ - test/fixtures/comfy/cms/snippets.yml
478
504
  - test/fixtures/files/data.zip
479
505
  - test/fixtures/files/document.pdf
480
506
  - test/fixtures/files/image.gif
@@ -499,6 +525,7 @@ files:
499
525
  - test/fixtures/views/render_test/render_layout.html.erb
500
526
  - test/gemfiles/Gemfile.rails.4.0
501
527
  - test/gemfiles/Gemfile.rails.4.1
528
+ - test/gemfiles/Gemfile.rails.master
502
529
  - test/generators/cms_generator_test.rb
503
530
  - test/generators/scaffold_generator_test.rb
504
531
  - test/integration/authentication_test.rb
@@ -571,5 +598,5 @@ rubyforge_project:
571
598
  rubygems_version: 2.1.10
572
599
  signing_key:
573
600
  specification_version: 4
574
- summary: CMS Engine for Rails 4 apps
601
+ summary: Rails 4 CMS Engine
575
602
  test_files: []