tb_cms 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +6 -14
  2. data/README.markdown +1 -1
  3. data/app/controllers/admin/menu_items_controller.rb +5 -5
  4. data/app/controllers/admin/menus_controller.rb +8 -2
  5. data/app/controllers/admin/pages_controller.rb +7 -21
  6. data/app/controllers/admin/snippets_controller.rb +7 -4
  7. data/app/controllers/cms/sitemaps_controller.rb +0 -2
  8. data/app/controllers/pages_controller.rb +1 -10
  9. data/app/helpers/cms/application_helper.rb +90 -98
  10. data/app/models/spud_menu.rb +2 -3
  11. data/app/models/spud_menu_item.rb +1 -4
  12. data/app/models/spud_page.rb +6 -8
  13. data/app/models/spud_page_partial.rb +6 -21
  14. data/app/models/spud_page_partial_revision.rb +1 -1
  15. data/app/models/spud_snippet.rb +3 -19
  16. data/app/views/admin/menu_items/_menu_item_row.html.erb +2 -2
  17. data/app/views/admin/menus/index.html.erb +6 -9
  18. data/app/views/admin/pages/_page_row.html.erb +16 -16
  19. data/app/views/admin/pages/edit.html.erb +1 -1
  20. data/app/views/admin/snippets/index.html.erb +1 -1
  21. data/app/views/pages/show.html.erb +27 -22
  22. data/config/routes.rb +1 -4
  23. data/db/migrate/20121119030136_change_liquid_tags_to_polymorphic.rb +4 -2
  24. data/db/migrate/20140110142037_drop_spud_page_liquid_tags.rb +31 -0
  25. data/lib/spud_cms/engine.rb +1 -9
  26. data/lib/spud_cms/page_route.rb +2 -4
  27. data/lib/spud_cms/version.rb +1 -1
  28. data/spec/controllers/admin/menu_items_controller_spec.rb +0 -2
  29. data/spec/controllers/cms/sitemaps_controller_spec.rb +11 -17
  30. data/spec/dummy/config/application.rb +1 -0
  31. data/spec/dummy/config/environments/test.rb +9 -2
  32. data/spec/dummy/config/initializers/secret_token.rb +1 -0
  33. data/spec/dummy/db/migrate/{20120307002859_create_spud_admin_permissions.spud_core.rb → 20140110051449_create_spud_admin_permissions.tb_core.rb} +1 -1
  34. data/spec/dummy/db/migrate/{20120307002860_create_spud_users.spud_core.rb → 20140110051450_create_spud_users.tb_core.rb} +1 -1
  35. data/spec/dummy/db/migrate/{20120610123555_add_time_zone_to_spud_user.spud_core.rb → 20140110051451_add_time_zone_to_spud_user.tb_core.rb} +1 -1
  36. data/spec/dummy/db/migrate/20140110051452_add_scope_to_spud_admin_permissions.tb_core.rb +7 -0
  37. data/spec/dummy/db/migrate/{20120610123557_create_spud_user_settings.spud_core.rb → 20140110051453_create_spud_user_settings.tb_core.rb} +1 -1
  38. data/spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb +11 -0
  39. data/spec/dummy/db/migrate/20140110051455_create_spud_permissions.tb_core.rb +11 -0
  40. data/spec/dummy/db/migrate/20140110051456_create_spud_role_permissions.tb_core.rb +12 -0
  41. data/spec/dummy/db/migrate/20140110051457_drop_spud_admin_permissions.tb_core.rb +16 -0
  42. data/spec/dummy/db/migrate/20140110051458_create_spud_liquid_tags.tb_core.rb +13 -0
  43. data/spec/dummy/db/migrate/20140110051459_create_spud_permalinks.tb_permalinks.rb +12 -0
  44. data/spec/dummy/db/migrate/20140110051460_add_site_id_to_spud_permalinks.tb_permalinks.rb +7 -0
  45. data/spec/dummy/db/migrate/20140110051461_modify_site_id_for_spud_permalinks.tb_permalinks.rb +12 -0
  46. data/spec/dummy/db/migrate/20140110051462_create_spud_pages.tb_cms.rb +20 -0
  47. data/spec/dummy/db/migrate/20140110051463_create_spud_menus.tb_cms.rb +11 -0
  48. data/spec/dummy/db/migrate/20140110051464_create_spud_menu_items.tb_cms.rb +18 -0
  49. data/spec/dummy/db/migrate/20140110051465_create_spud_templates.tb_cms.rb +12 -0
  50. data/spec/dummy/db/migrate/20140110051466_create_spud_page_partials.tb_cms.rb +14 -0
  51. data/spec/dummy/db/migrate/20140110051467_add_visibility_to_spud_pages.tb_cms.rb +7 -0
  52. data/spec/dummy/db/migrate/20140110051468_add_menu_name_to_spud_menu_items.tb_cms.rb +6 -0
  53. data/spec/dummy/db/migrate/20140110051469_add_use_custom_url_name_to_spud_pages.tb_cms.rb +6 -0
  54. data/spec/dummy/db/migrate/20140110051470_add_notes_to_spud_pages.tb_cms.rb +6 -0
  55. data/spec/dummy/db/migrate/20140110051471_add_menu_id_to_spud_menu_items.tb_cms.rb +8 -0
  56. data/spec/dummy/db/migrate/20140110051472_add_classes_to_spud_menu_items.tb_cms.rb +7 -0
  57. data/spec/dummy/db/migrate/20140110051473_add_site_id_to_spud_pages.tb_cms.rb +7 -0
  58. data/spec/dummy/db/migrate/20140110051474_add_site_id_to_spud_templates.tb_cms.rb +7 -0
  59. data/spec/dummy/db/migrate/20140110051475_add_site_id_to_spud_menus.tb_cms.rb +7 -0
  60. data/spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb +14 -0
  61. data/spec/dummy/db/migrate/20140110051477_add_symbol_name_to_spud_page_partials.tb_cms.rb +6 -0
  62. data/spec/dummy/db/migrate/20140110051478_modify_site_id_for_spud_pages.tb_cms.rb +16 -0
  63. data/spec/dummy/db/migrate/20140110051479_add_content_processed_to_spud_page_partials.tb_cms.rb +6 -0
  64. data/spec/dummy/db/migrate/20140110051480_add_layout_to_spud_pages.tb_cms.rb +9 -0
  65. data/spec/dummy/db/migrate/20140110051481_create_spud_page_liquid_tags.tb_cms.rb +12 -0
  66. data/spec/dummy/db/migrate/20140110051482_create_spud_snippets.tb_cms.rb +18 -0
  67. data/spec/dummy/db/migrate/20140110051483_change_liquid_tags_to_polymorphic.tb_cms.rb +20 -0
  68. data/spec/dummy/db/migrate/20140110051484_drop_spud_page_liquid_tags.tb_cms.rb +30 -0
  69. data/spec/dummy/db/schema.rb +96 -79
  70. data/spec/helpers/cms/application_helper_spec.rb +11 -9
  71. data/spec/models/spud_page_partial_spec.rb +3 -3
  72. data/spec/models/spud_page_spec.rb +3 -4
  73. metadata +115 -77
  74. data/app/models/spud_page_liquid_tag.rb +0 -4
  75. data/app/observers/page_sweeper.rb +0 -48
  76. data/app/observers/snippet_sweeper.rb +0 -41
  77. data/spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb +0 -12
  78. data/spec/dummy/db/migrate/20120610123556_add_scope_to_spud_admin_permissions.spud_core.rb +0 -7
  79. data/spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb +0 -7
  80. data/spec/dummy/log/test.log +0 -11310
  81. data/spec/models/spud_page_liquid_tag_spec.rb +0 -5

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.