o_cms 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -4
- data/app/controllers/o_cms/application_controller.rb +0 -13
- data/app/controllers/o_cms/dashboard_controller.rb +0 -1
- data/app/controllers/o_cms/pages_controller.rb +3 -1
- data/app/controllers/o_cms/templates_controller.rb +65 -0
- data/app/helpers/o_cms/exists_helper.rb +19 -0
- data/app/models/o_cms/category.rb +1 -1
- data/app/models/o_cms/gallery.rb +2 -2
- data/app/models/o_cms/image.rb +2 -2
- data/app/models/o_cms/page.rb +5 -1
- data/app/models/o_cms/post.rb +2 -2
- data/app/models/o_cms/template.rb +15 -0
- data/app/uploaders/o_cms/image_uploader.rb +1 -2
- data/app/views/layouts/o_cms/application.html.erb +2 -0
- data/app/views/o_cms/galleries/_form.html.erb +1 -0
- data/app/views/o_cms/pages/_form.html.erb +15 -0
- data/app/views/o_cms/pages/_navigation.html.erb +1 -0
- data/app/views/o_cms/pages/_page_row.html.erb +5 -1
- data/app/views/o_cms/pages/index.html.erb +1 -0
- data/app/views/o_cms/partials/_primary_navigation.html.erb +2 -2
- data/app/views/o_cms/posts/_form.html.erb +10 -9
- data/app/views/o_cms/templates/_form.html.erb +36 -0
- data/app/views/o_cms/templates/_guidelines.html.erb +6 -0
- data/app/views/o_cms/templates/_navigation.html.erb +8 -0
- data/app/views/o_cms/templates/edit.html.erb +17 -0
- data/app/views/o_cms/templates/index.html.erb +28 -0
- data/app/views/o_cms/templates/new.html.erb +12 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20161111160543_create_o_cms_templates.rb +11 -0
- data/db/migrate/20161202155453_add_slug_to_template.rb +5 -0
- data/db/migrate/20161202173341_add_template_to_page.rb +5 -0
- data/lib/o_cms.rb +1 -0
- data/lib/o_cms/engine.rb +2 -0
- data/lib/o_cms/version.rb +1 -1
- data/spec/controllers/o_cms/templates_controller_spec.rb +103 -0
- data/spec/dummy/rails-4/Gemfile.lock +3 -1
- data/spec/dummy/rails-4/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/rails-4/db/schema.rb +61 -52
- data/spec/dummy/rails-4/db/seeds.rb +13 -0
- data/spec/dummy/rails-4/log/development.log +4382 -0
- data/spec/dummy/rails-4/log/test.log +20227 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/large_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/special_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0050-1176/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/featured_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/large_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/medium_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/special_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480696515-19431-0051-6961/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/large_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/special_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697086-20988-0050-5126/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/featured_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/large_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/medium_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/special_forest.jpg +0 -0
- data/spec/dummy/rails-4/public/uploads/tmp/1480697087-20988-0051-0142/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/3O/3ODiJia5uMdFDmF3jD7dDNl18V7UDtLqk1bJWIyb2hA.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/6j/6j51C6oILM3kf_OLy0sZPQWPxAmY_swD6073ZQnSltc.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/6t/6t4BpyzekByTyspkmNuGlIkgkH957wxUcWaF9dHpyXg.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/9n/9nrZYiz77mMjREZsuNa1LR_i53vYpy6pFEocU-0Dn2Y.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/Id/IdjOEZjhUwO70uQb9Tc2qMAyvDx-XJsCZpOuNrDNE50.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/L7/L7EMkGUhsoIfp33TrJw6IANmeUFvtfbRuENNCAAcMPM.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/NC/NCREnyp3EHQK36sy07nJb8wDI0_B0tIOdvnF2EJNJmc.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/WK/WKTCAoxqB14qN8_qfpCDiT2EllrI8BPHhQspRB1NzDQ.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/Yi/YiYrVpyqeG3NAPMrjAV6O9MKYBRWbIYDeMXR3i0ZtfM.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/Yj/Yj7WDyKLMi0jZA1UG55D8McpMT8nYMSvILy1OZLUh8M.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/_D/_D9yg5w12C2qNvPst7SikTC6KfSRLBjI4xY1PxbCaZQ.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/_X/_XbOeLAejerFz9INoJxTvgGJme0oKpidBMFC7AIDVIQ.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/dv/dvtF4hZBrPGfbSH-u-7qGoasfSiEYTUW0mTnRpAG2QE.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/e_/e_lYJn8nZRO1qRk5nXU2khhOCJ2TjUHV_yaaqGH_xUY.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/jg/jghI9nA5xPB0SMqWt7hcEZj9-o6zm570d3jAgyUQfMg.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/sG/sGOK7uaA4LNbhBwgSjt9NaFgH-dC7OHrTPdRuE9FLcU.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/sprockets/v3.0/tF/tFBE4kTO5PegMqCWNU_cXw7ut9nYiIKzgw2GAMVNYek.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/6t/6t4BpyzekByTyspkmNuGlIkgkH957wxUcWaF9dHpyXg.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/BC/BCn-1KhRagx9rrC2MOvvFXShkg9xq-K5y8ZZ3KoEZzI.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/Ci/CiGGJ3nuYKA44MYCyg3Js9eUoYzCNfXIc6MvQGAQQuo.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/FD/FDw8AeDYoohmI5mc6_nZDUeLshWadeyZ4JlmBxmpKPc.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/Kp/Kpyn_0WoI_vLbX7XO5OoSop9ZdL4BsioZdfEozaaDVs.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/TS/tS1YS0Z4WSkEV2cgLTJqjw42Vvq81w-Q3JOwc8URZkQ.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/Th/thZZaQ5hR4Poohuh6JsckWmlMdJkOj4-hNzPtgiJIyE.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/Zc/ZcQpqZaNfy6qdgRhVrCV44lNwdrATuvXKVezBHItl6s.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/_3/_3b9ohkJWbTdvGbCgcCzB2FmhDQ2I_UKa728vsNx9VI.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/_D/_D9yg5w12C2qNvPst7SikTC6KfSRLBjI4xY1PxbCaZQ.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/dv/dvtF4hZBrPGfbSH-u-7qGoasfSiEYTUW0mTnRpAG2QE.cache +2 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/fv/fVcs0JTcc_0A5xQfYFinHTKJl5OjEl3x1NesAhQ-2D4.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/iD/IdjOEZjhUwO70uQb9Tc2qMAyvDx-XJsCZpOuNrDNE50.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/jY/JyzE42rgit3u3fozfbqEOyqGosU2M7wVmnpdElPBN9w.cache +1 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/ob/ObBiEJuavfJmEKRg5rdOjOy4olYyX4FmP7nfVg7z40U.cache +0 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/qt/qtTSJz3rNzxqtYYate2XSD7iy5Z8o72Ij2LejUj0rp4.cache +2 -0
- data/spec/dummy/rails-4/tmp/cache/assets/test/sprockets/v3.0/tF/tFBE4kTO5PegMqCWNU_cXw7ut9nYiIKzgw2GAMVNYek.cache +1 -0
- data/spec/dummy/rails-5/Gemfile.lock +3 -1
- data/spec/dummy/rails-5/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/rails-5/db/development.sqlite3 +0 -0
- data/spec/dummy/rails-5/db/schema.rb +11 -1
- data/spec/dummy/rails-5/db/seeds.rb +12 -0
- data/spec/dummy/rails-5/db/test.sqlite3 +0 -0
- data/spec/dummy/rails-5/log/development.log +21315 -0
- data/spec/dummy/rails-5/log/test.log +198530 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499689-98518-0050-2910/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480499690-98518-0051-1314/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0050-6057/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480500264-432-0051-0517/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0050-8724/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480692005-13203-0051-1425/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0050-0041/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480695903-17883-0051-1581/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0050-3998/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480703647-26680-0051-7442/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711317-30030-0050-9030/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480711318-30030-0051-1844/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0050-1199/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480712477-32892-0051-8817/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0050-3707/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480714308-35499-0051-0436/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716639-38294-0050-3316/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480716640-38294-0051-7393/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854732-51018-0050-9731/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1480854733-51018-0051-2918/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209003-49423-0050-9635/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481209004-49423-0051-1226/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0050-3569/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481553724-7826-0051-0290/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554859-10349-0050-9661/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481554860-10349-0051-9735/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/admin_thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/featured_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/large_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/medium_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/special_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556560-13113-0050-4682/thumb_mountains.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/admin_thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/featured_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/large_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/medium_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/special_forest.jpg +0 -0
- data/spec/dummy/rails-5/public/uploads/tmp/1481556561-13113-0051-1474/thumb_forest.jpg +0 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/-j/-jJCki_r-oPSXXLl3ffFoRlXuarDpc3BqttJocNpcso.cache +0 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/1R/1RDUJN4-R0v_a1EB2kbL4V_Jbnjf7NO7EUE6OfOknvk.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/6t/6t4BpyzekByTyspkmNuGlIkgkH957wxUcWaF9dHpyXg.cache +0 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/B4/B44rUGjKw-IT5jQg91u68LX8W8WFlnqJEScOW5JEAEQ.cache +0 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/Id/IdjOEZjhUwO70uQb9Tc2qMAyvDx-XJsCZpOuNrDNE50.cache +0 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/V9/v9FnYugj6kUrygHuOt2RUUemXNXN5NERvL37qKeSE08.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/_D/_D9yg5w12C2qNvPst7SikTC6KfSRLBjI4xY1PxbCaZQ.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/dv/dvtF4hZBrPGfbSH-u-7qGoasfSiEYTUW0mTnRpAG2QE.cache +0 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/ns/ns7tCPFFhqUXQlcCE3m6hkwohbISokBqU_2a9amHznI.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/tF/tFBE4kTO5PegMqCWNU_cXw7ut9nYiIKzgw2GAMVNYek.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/uC/uCA70-mmGLTwfmwuljQjxD1Hwmjv54uN6R7u9DO_rdE.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/wT/wTqXlm6KbVHZFyO7RkmLbmxpb5qVXE2pek3EhOemnLs.cache +1 -0
- data/spec/dummy/rails-5/tmp/cache/assets/sprockets/v3.0/zD/zDzGvN2biHHXu7BiALrPdtu5oQs-hkAHr77u9azB5-o.cache +0 -0
- data/spec/dummy/rails-5/tmp/pids/server.pid +1 -0
- data/spec/factories/o_cms/templates.rb +8 -0
- data/spec/features/o_cms/admin_creates_page_template_relationship_spec.rb +64 -0
- data/spec/features/o_cms/admin_creates_updates_and_deletes_template_spec.rb +104 -0
- data/spec/models/o_cms/category_spec.rb +1 -1
- data/spec/models/o_cms/gallery_spec.rb +1 -1
- data/spec/models/o_cms/image_spec.rb +1 -1
- data/spec/models/o_cms/page_spec.rb +5 -4
- data/spec/models/o_cms/post_spec.rb +1 -1
- data/spec/models/o_cms/template_spec.rb +30 -0
- data/spec/support/cabybara.rb +1 -1
- metadata +558 -2
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.