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.
- checksums.yaml +4 -4
- data/.travis.yml +7 -2
- data/CONTRIBUTING.md +29 -0
- data/README.md +24 -15
- data/Rakefile +12 -4
- data/app/assets/javascripts/comfortable_mexican_sofa/application.js.coffee +11 -10
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff.js.coffee +9 -0
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff/diff_match_patch.min.js +49 -0
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff/pretty_text_diff.min.js +5 -0
- data/app/assets/stylesheets/comfortable_mexican_sofa/application.css.sass +7 -9
- data/app/assets/stylesheets/comfortable_mexican_sofa/base.css.sass +45 -15
- data/app/assets/stylesheets/comfortable_mexican_sofa/bootstrap_overrides.css.sass +21 -41
- data/app/controllers/{admin → comfy/admin}/cms/base_controller.rb +9 -8
- data/app/controllers/{admin → comfy/admin}/cms/categories_controller.rb +1 -1
- data/app/controllers/{admin → comfy/admin}/cms/files_controller.rb +11 -11
- data/app/controllers/{admin → comfy/admin}/cms/layouts_controller.rb +10 -10
- data/app/controllers/{admin → comfy/admin}/cms/pages_controller.rb +16 -12
- data/app/controllers/{admin → comfy/admin}/cms/revisions_controller.rb +12 -12
- data/app/controllers/{admin → comfy/admin}/cms/sites_controller.rb +13 -13
- data/app/controllers/{admin → comfy/admin}/cms/snippets_controller.rb +9 -9
- data/app/controllers/{cms → comfy/cms}/assets_controller.rb +1 -1
- data/app/controllers/{cms → comfy/cms}/base_controller.rb +4 -4
- data/app/controllers/{cms → comfy/cms}/content_controller.rb +9 -6
- data/app/models/{cms → comfy/cms}/block.rb +13 -10
- data/app/models/{cms → comfy/cms}/categorization.rb +2 -2
- data/app/models/{cms → comfy/cms}/category.rb +2 -2
- data/app/models/{cms → comfy/cms}/file.rb +12 -11
- data/app/models/{cms → comfy/cms}/layout.rb +10 -8
- data/app/models/{cms → comfy/cms}/page.rb +6 -82
- data/app/models/{cms → comfy/cms}/revision.rb +2 -2
- data/app/models/{cms → comfy/cms}/site.rb +6 -6
- data/app/models/{cms → comfy/cms}/snippet.rb +7 -7
- data/app/views/{admin → comfy/admin}/cms/categories/_categories.html.haml +0 -0
- data/app/views/comfy/admin/cms/categories/_edit.html.haml +6 -0
- data/app/views/{admin → comfy/admin}/cms/categories/_form.html.haml +2 -2
- data/app/views/comfy/admin/cms/categories/_index.html.haml +25 -0
- data/app/views/{admin → comfy/admin}/cms/categories/_show.html.haml +3 -3
- data/app/views/{admin → comfy/admin}/cms/categories/create.js.erb +0 -0
- data/app/views/{admin → comfy/admin}/cms/categories/destroy.js.erb +0 -0
- data/app/views/{admin → comfy/admin}/cms/categories/edit.js.erb +0 -0
- data/app/views/{admin → comfy/admin}/cms/categories/update.js.erb +0 -0
- data/app/views/{admin → comfy/admin}/cms/files/_file.html.haml +2 -2
- data/app/views/comfy/admin/cms/files/_form.html.haml +19 -0
- data/app/views/comfy/admin/cms/files/_index.html.haml +11 -0
- data/app/views/{admin → comfy/admin}/cms/files/_page_form.html.haml +2 -2
- data/app/views/{admin → comfy/admin}/cms/files/destroy.js.coffee +0 -0
- data/app/views/{admin → comfy/admin}/cms/files/edit.html.haml +0 -0
- data/app/views/comfy/admin/cms/files/index.html.haml +31 -0
- data/app/views/{admin → comfy/admin}/cms/files/new.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/layouts/_form.html.haml +6 -6
- data/app/views/comfy/admin/cms/layouts/_index_branch.html.haml +23 -0
- data/app/views/comfy/admin/cms/layouts/edit.html.haml +9 -0
- data/app/views/comfy/admin/cms/layouts/index.html.haml +13 -0
- data/app/views/{admin → comfy/admin}/cms/layouts/new.html.haml +0 -0
- data/app/views/comfy/admin/cms/pages/_form.html.haml +40 -0
- data/app/views/{admin → comfy/admin}/cms/pages/_form_blocks.html.haml +4 -3
- data/app/views/{admin → comfy/admin}/cms/pages/_index_branch.html.haml +7 -7
- data/app/views/comfy/admin/cms/pages/edit.html.haml +9 -0
- data/app/views/{admin → comfy/admin}/cms/pages/form_blocks.js.erb +0 -0
- data/app/views/comfy/admin/cms/pages/index.html.haml +15 -0
- data/app/views/{admin → comfy/admin}/cms/pages/new.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/pages/toggle_branch.js.erb +1 -1
- data/app/views/{admin → comfy/admin}/cms/partials/_body_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_file_form_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_file_form_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_files_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_files_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_html_footer.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_html_head.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_layout_form_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_layout_form_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_layouts_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_layouts_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_navigation_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_navigation_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_navigation_inner.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_page_form_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_page_form_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_page_form_inner.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_pages_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_pages_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_right_column_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_right_column_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_site_form_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_site_form_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_sites_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_sites_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_snippet_form_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_snippet_form_before.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_snippets_after.html.haml +0 -0
- data/app/views/{admin → comfy/admin}/cms/partials/_snippets_before.html.haml +0 -0
- data/app/views/comfy/admin/cms/revisions/show.html.haml +35 -0
- data/app/views/comfy/admin/cms/sites/_form.html.haml +14 -0
- data/app/views/comfy/admin/cms/sites/_mirrors.html.haml +18 -0
- data/app/views/{admin → comfy/admin}/cms/sites/edit.html.haml +0 -0
- data/app/views/comfy/admin/cms/sites/index.html.haml +28 -0
- data/app/views/{admin → comfy/admin}/cms/sites/new.html.haml +0 -0
- data/app/views/comfy/admin/cms/snippets/_form.html.haml +15 -0
- data/app/views/{admin → comfy/admin}/cms/snippets/edit.html.haml +2 -2
- data/app/views/comfy/admin/cms/snippets/index.html.haml +32 -0
- data/app/views/{admin → comfy/admin}/cms/snippets/new.html.haml +0 -0
- data/app/views/{cms → comfy/cms}/content/render_sitemap.xml.builder +0 -0
- data/app/views/kaminari/{_first_page.html.haml → comfy/_first_page.html.haml} +0 -0
- data/app/views/kaminari/{_gap.html.haml → comfy/_gap.html.haml} +0 -0
- data/app/views/kaminari/{_last_page.html.haml → comfy/_last_page.html.haml} +0 -0
- data/app/views/kaminari/{_next_page.html.haml → comfy/_next_page.html.haml} +0 -0
- data/app/views/kaminari/{_page.html.haml → comfy/_page.html.haml} +0 -0
- data/app/views/kaminari/{_paginator.html.haml → comfy/_paginator.html.haml} +0 -0
- data/app/views/kaminari/{_prev_page.html.haml → comfy/_prev_page.html.haml} +0 -0
- data/app/views/layouts/comfy/admin/cms.html.haml +4 -0
- data/app/views/layouts/comfy/admin/cms/_body.html.haml +17 -0
- data/app/views/layouts/{admin → comfy/admin}/cms/_center.html.haml +0 -0
- data/app/views/layouts/{admin → comfy/admin}/cms/_footer.html.haml +0 -0
- data/app/views/layouts/{admin → comfy/admin}/cms/_footer_js.html.haml +2 -2
- data/app/views/layouts/{admin → comfy/admin}/cms/_head.html.haml +1 -1
- data/app/views/layouts/comfy/admin/cms/_left.html.haml +16 -0
- data/app/views/layouts/comfy/admin/cms/_right.html.haml +5 -0
- data/comfortable_mexican_sofa.gemspec +6 -4
- data/config/initializers/comfortable_mexican_sofa.rb +0 -5
- data/config/locales/da.yml +233 -0
- data/config/locales/de.yml +203 -214
- data/config/locales/en.yml +198 -210
- data/config/locales/es.yml +195 -207
- data/config/locales/fr.yml +195 -207
- data/config/locales/it.yml +201 -212
- data/config/locales/ja.yml +195 -208
- data/config/locales/nl.yml +201 -213
- data/config/locales/pl.yml +195 -207
- data/config/locales/pt-BR.yml +196 -208
- data/config/locales/ru.yml +203 -213
- data/config/locales/sv.yml +194 -206
- data/config/locales/zh-CN.yml +201 -213
- data/db/cms_fixtures/sample-site/layouts/default/nested/content.haml +3 -0
- data/db/cms_fixtures/sample-site/pages/index/child/left.haml +1 -0
- data/db/cms_fixtures/sample-site/pages/index/child/thumbnail.png +0 -0
- data/db/migrate/01_create_cms.rb +40 -38
- data/db/upgrade_migrations/08_upgrade_to_1_12_0.rb +41 -0
- data/lib/comfortable_mexican_sofa.rb +1 -0
- data/lib/comfortable_mexican_sofa/configuration.rb +2 -8
- data/lib/comfortable_mexican_sofa/engine.rb +3 -1
- data/lib/comfortable_mexican_sofa/extensions/acts_as_tree.rb +6 -0
- data/lib/comfortable_mexican_sofa/extensions/cms_manageable.rb +106 -0
- data/lib/comfortable_mexican_sofa/extensions/has_revisions.rb +2 -1
- data/lib/comfortable_mexican_sofa/extensions/is_categorized.rb +4 -4
- data/lib/comfortable_mexican_sofa/extensions/is_mirrored.rb +8 -8
- data/lib/comfortable_mexican_sofa/fixture.rb +2 -9
- data/lib/comfortable_mexican_sofa/fixture/category.rb +6 -6
- data/lib/comfortable_mexican_sofa/fixture/file.rb +1 -1
- data/lib/comfortable_mexican_sofa/fixture/layout.rb +8 -3
- data/lib/comfortable_mexican_sofa/fixture/page.rb +13 -3
- data/lib/comfortable_mexican_sofa/fixture/snippet.rb +7 -3
- data/lib/comfortable_mexican_sofa/form_builder.rb +30 -17
- data/lib/comfortable_mexican_sofa/render_methods.rb +58 -50
- data/lib/comfortable_mexican_sofa/routes/cms.rb +12 -10
- data/lib/comfortable_mexican_sofa/routes/cms_admin.rb +26 -24
- data/lib/comfortable_mexican_sofa/tag.rb +14 -14
- data/lib/comfortable_mexican_sofa/tags/asset.rb +3 -3
- data/lib/comfortable_mexican_sofa/tags/file.rb +2 -2
- data/lib/comfortable_mexican_sofa/tags/page_file.rb +29 -18
- data/lib/comfortable_mexican_sofa/tags/page_files.rb +34 -35
- data/lib/comfortable_mexican_sofa/tags/snippet.rb +3 -3
- data/lib/comfortable_mexican_sofa/version.rb +1 -1
- data/lib/comfortable_mexican_sofa/view_methods.rb +67 -74
- data/lib/generators/comfy/scaffold/scaffold_generator.rb +1 -1
- data/lib/generators/comfy/scaffold/templates/controller.rb +4 -4
- data/lib/generators/comfy/scaffold/templates/tests/controller.rb +3 -3
- data/lib/generators/comfy/scaffold/templates/views/_form.haml +1 -1
- data/lib/generators/comfy/scaffold/templates/views/index.haml +6 -6
- data/test/controllers/{admin → comfy/admin}/cms/base_controller_test.rb +3 -3
- data/test/controllers/comfy/admin/cms/categories_controller_test.rb +70 -0
- data/test/controllers/{admin → comfy/admin}/cms/files_controller_test.rb +53 -45
- data/test/controllers/{admin → comfy/admin}/cms/layouts_controller_test.rb +29 -29
- data/test/controllers/{admin → comfy/admin}/cms/pages_controller_test.rb +111 -110
- data/test/controllers/comfy/admin/cms/revisions_controller_test.rb +138 -0
- data/test/controllers/{admin → comfy/admin}/cms/sites_controller_test.rb +15 -15
- data/test/controllers/{admin → comfy/admin}/cms/snippets_controller_test.rb +29 -29
- data/test/controllers/comfy/cms/assets_controller_test.rb +38 -0
- data/test/controllers/{cms → comfy/cms}/content_controller_test.rb +28 -28
- data/test/fixtures/{cms → comfy/cms}/blocks.yml +2 -2
- data/test/fixtures/{cms → comfy/cms}/categories.yml +1 -1
- data/test/fixtures/comfy/cms/categorizations.yml +3 -0
- data/test/fixtures/{cms → comfy/cms}/files.yml +0 -0
- data/test/fixtures/{cms → comfy/cms}/layouts.yml +0 -0
- data/test/fixtures/{cms → comfy/cms}/pages.yml +2 -2
- data/test/fixtures/{cms → comfy/cms}/revisions.yml +3 -3
- data/test/fixtures/{cms → comfy/cms}/sites.yml +0 -0
- data/test/fixtures/{cms → comfy/cms}/snippets.yml +0 -0
- data/test/fixtures/generators/scaffold/controller.rb +4 -4
- data/test/fixtures/generators/scaffold/tests/controller.rb +3 -3
- data/test/fixtures/generators/scaffold/views/_form.haml +1 -1
- data/test/fixtures/generators/scaffold/views/index.haml +6 -6
- data/test/gemfiles/Gemfile.rails.4.0 +4 -2
- data/test/gemfiles/Gemfile.rails.4.1 +5 -3
- data/test/gemfiles/Gemfile.rails.master +22 -0
- data/test/generators/scaffold_generator_test.rb +1 -1
- data/test/integration/authentication_test.rb +2 -2
- data/test/integration/fixtures_test.rb +26 -24
- data/test/integration/mirrors_test.rb +14 -14
- data/test/integration/render_cms_test.rb +17 -16
- data/test/integration/sites_test.rb +21 -21
- data/test/integration/view_hooks_test.rb +7 -7
- data/test/lib/configuration_test.rb +1 -5
- data/test/lib/fixtures/categories_test.rb +8 -8
- data/test/lib/fixtures/files_test.rb +11 -11
- data/test/lib/fixtures/layouts_test.rb +19 -19
- data/test/lib/fixtures/pages_test.rb +24 -24
- data/test/lib/fixtures/snippets_test.rb +14 -14
- data/test/lib/fixtures_test.rb +8 -8
- data/test/lib/mirrors_test.rb +25 -25
- data/test/lib/revisions_test.rb +26 -26
- data/test/lib/tag_test.rb +26 -26
- data/test/lib/tags/asset_test.rb +11 -11
- data/test/lib/tags/collection_test.rb +33 -32
- data/test/lib/tags/field_boolean_test.rb +6 -6
- data/test/lib/tags/field_datetime_test.rb +6 -6
- data/test/lib/tags/field_integer_test.rb +6 -6
- data/test/lib/tags/field_rich_text_test.rb +6 -6
- data/test/lib/tags/field_string_test.rb +7 -7
- data/test/lib/tags/field_text_test.rb +6 -6
- data/test/lib/tags/file_test.rb +12 -12
- data/test/lib/tags/helper_test.rb +10 -10
- data/test/lib/tags/page_datetime_test.rb +6 -6
- data/test/lib/tags/page_file_test.rb +11 -11
- data/test/lib/tags/page_files_test.rb +12 -11
- data/test/lib/tags/page_integer_test.rb +6 -6
- data/test/lib/tags/page_markdown_test.rb +6 -6
- data/test/lib/tags/page_rich_text_test.rb +6 -6
- data/test/lib/tags/page_string_test.rb +6 -6
- data/test/lib/tags/page_text_test.rb +7 -7
- data/test/lib/tags/partial_test.rb +10 -10
- data/test/lib/tags/snippet_test.rb +6 -6
- data/test/lib/tags/template_test.rb +7 -7
- data/test/lib/view_methods_test.rb +89 -120
- data/test/models/block_test.rb +34 -34
- data/test/models/categorization_test.rb +25 -25
- data/test/models/category_test.rb +9 -9
- data/test/models/file_test.rb +38 -21
- data/test/models/layout_test.rb +27 -27
- data/test/models/page_test.rb +101 -71
- data/test/models/site_test.rb +50 -50
- data/test/models/snippet_test.rb +9 -9
- data/test/test_helper.rb +7 -9
- metadata +174 -147
- data/app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/comfortable_mexican_sofa/bootstrap/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.js +0 -492
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/bootstrap.js +0 -6
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/wysihtml5.js +0 -261
- data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap-wysihtml5.css +0 -102
- data/app/assets/stylesheets/comfortable_mexican_sofa/lib/bootstrap.css +0 -9
- data/app/assets/stylesheets/comfortable_mexican_sofa/wysihtml5_overrides.css.sass +0 -5
- data/app/models/concerns/cms/base.rb +0 -17
- data/app/views/admin/cms/categories/_edit.html.haml +0 -6
- data/app/views/admin/cms/categories/_index.html.haml +0 -24
- data/app/views/admin/cms/files/_form.html.haml +0 -18
- data/app/views/admin/cms/files/_index.html.haml +0 -14
- data/app/views/admin/cms/files/index.html.haml +0 -32
- data/app/views/admin/cms/layouts/_index_branch.html.haml +0 -23
- data/app/views/admin/cms/layouts/edit.html.haml +0 -9
- data/app/views/admin/cms/layouts/index.html.haml +0 -13
- data/app/views/admin/cms/pages/_form.html.haml +0 -39
- data/app/views/admin/cms/pages/edit.html.haml +0 -9
- data/app/views/admin/cms/pages/index.html.haml +0 -15
- data/app/views/admin/cms/revisions/show.html.haml +0 -29
- data/app/views/admin/cms/sites/_form.html.haml +0 -14
- data/app/views/admin/cms/sites/_mirrors.html.haml +0 -18
- data/app/views/admin/cms/sites/index.html.haml +0 -28
- data/app/views/admin/cms/snippets/_form.html.haml +0 -15
- data/app/views/admin/cms/snippets/index.html.haml +0 -32
- data/app/views/layouts/admin/cms.html.haml +0 -4
- data/app/views/layouts/admin/cms/_body.html.haml +0 -17
- data/app/views/layouts/admin/cms/_left.html.haml +0 -16
- data/app/views/layouts/admin/cms/_right.html.haml +0 -5
- data/db/cms_fixtures/sample-site/layouts/default/nested/content.html +0 -2
- data/db/cms_fixtures/sample-site/pages/index/child/left.html +0 -1
- data/doc/sofa.png +0 -0
- data/test/controllers/admin/cms/categories_controller_test.rb +0 -70
- data/test/controllers/admin/cms/revisions_controller_test.rb +0 -138
- data/test/controllers/cms/assets_controller_test.rb +0 -29
- data/test/fixtures/cms/categorizations.yml +0 -3
data/test/models/snippet_test.rb
CHANGED
@@ -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 =
|
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 =
|
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 =
|
42
|
-
page =
|
43
|
-
assert_match snippet.content, page.
|
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.
|
46
|
+
assert_match /new_snippet_content/, page.content_cache
|
47
47
|
end
|
48
48
|
|
49
49
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
+
ENV['RAILS_ENV'] = 'test'
|
2
3
|
|
3
4
|
require 'coveralls'
|
4
|
-
Coveralls.wear!
|
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'
|
36
|
-
'es'
|
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.
|
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-
|
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:
|
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.
|
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.
|
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:
|
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:
|
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
|
-
|
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/
|
224
|
-
- app/assets/javascripts/comfortable_mexican_sofa/lib/
|
225
|
-
- app/assets/javascripts/comfortable_mexican_sofa/lib/
|
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/
|
245
|
-
- app/controllers/cms/
|
246
|
-
- app/controllers/cms/
|
247
|
-
- app/
|
248
|
-
- app/
|
249
|
-
- app/
|
250
|
-
- app/
|
251
|
-
- app/
|
252
|
-
- app/
|
253
|
-
- app/
|
254
|
-
- app/
|
255
|
-
- app/models/cms/
|
256
|
-
- app/models/
|
257
|
-
- app/
|
258
|
-
- app/
|
259
|
-
- app/
|
260
|
-
- app/
|
261
|
-
- app/
|
262
|
-
- app/
|
263
|
-
- app/
|
264
|
-
- app/views/admin/cms/categories/
|
265
|
-
- app/views/admin/cms/categories/
|
266
|
-
- app/views/admin/cms/
|
267
|
-
- app/views/admin/cms/
|
268
|
-
- app/views/admin/cms/
|
269
|
-
- app/views/admin/cms/
|
270
|
-
- app/views/admin/cms/
|
271
|
-
- app/views/admin/cms/
|
272
|
-
- app/views/admin/cms/
|
273
|
-
- app/views/admin/cms/files/
|
274
|
-
- app/views/admin/cms/
|
275
|
-
- app/views/admin/cms/
|
276
|
-
- app/views/admin/cms/
|
277
|
-
- app/views/admin/cms/
|
278
|
-
- app/views/admin/cms/
|
279
|
-
- app/views/admin/cms/
|
280
|
-
- app/views/admin/cms/
|
281
|
-
- app/views/admin/cms/
|
282
|
-
- app/views/admin/cms/
|
283
|
-
- app/views/admin/cms/
|
284
|
-
- app/views/admin/cms/
|
285
|
-
- app/views/admin/cms/
|
286
|
-
- app/views/admin/cms/pages/
|
287
|
-
- app/views/admin/cms/
|
288
|
-
- app/views/admin/cms/
|
289
|
-
- app/views/admin/cms/
|
290
|
-
- app/views/admin/cms/
|
291
|
-
- app/views/admin/cms/
|
292
|
-
- app/views/admin/cms/
|
293
|
-
- app/views/admin/cms/
|
294
|
-
- app/views/admin/cms/partials/
|
295
|
-
- app/views/admin/cms/partials/
|
296
|
-
- app/views/admin/cms/partials/
|
297
|
-
- app/views/admin/cms/partials/
|
298
|
-
- app/views/admin/cms/partials/
|
299
|
-
- app/views/admin/cms/partials/
|
300
|
-
- app/views/admin/cms/partials/
|
301
|
-
- app/views/admin/cms/partials/
|
302
|
-
- app/views/admin/cms/partials/
|
303
|
-
- app/views/admin/cms/partials/
|
304
|
-
- app/views/admin/cms/partials/
|
305
|
-
- app/views/admin/cms/partials/
|
306
|
-
- app/views/admin/cms/partials/
|
307
|
-
- app/views/admin/cms/partials/
|
308
|
-
- app/views/admin/cms/partials/
|
309
|
-
- app/views/admin/cms/partials/
|
310
|
-
- app/views/admin/cms/partials/
|
311
|
-
- app/views/admin/cms/partials/
|
312
|
-
- app/views/admin/cms/partials/
|
313
|
-
- app/views/admin/cms/partials/
|
314
|
-
- app/views/admin/cms/partials/
|
315
|
-
- app/views/admin/cms/partials/
|
316
|
-
- app/views/admin/cms/
|
317
|
-
- app/views/admin/cms/
|
318
|
-
- app/views/admin/cms/
|
319
|
-
- app/views/admin/cms/
|
320
|
-
- app/views/admin/cms/
|
321
|
-
- app/views/admin/cms/
|
322
|
-
- app/views/admin/cms/
|
323
|
-
- app/views/admin/cms/
|
324
|
-
- app/views/admin/cms/
|
325
|
-
- app/views/admin/cms/
|
326
|
-
- app/views/cms/
|
327
|
-
- app/views/
|
328
|
-
- app/views/
|
329
|
-
- app/views/
|
330
|
-
- app/views/
|
331
|
-
- app/views/
|
332
|
-
- app/views/
|
333
|
-
- app/views/
|
334
|
-
- app/views/
|
335
|
-
- app/views/
|
336
|
-
- app/views/
|
337
|
-
- app/views/
|
338
|
-
- app/views/
|
339
|
-
- app/views/
|
340
|
-
- app/views/
|
341
|
-
- app/views/layouts/admin/cms
|
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.
|
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.
|
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:
|
601
|
+
summary: Rails 4 CMS Engine
|
575
602
|
test_files: []
|