pulitzer 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/pulitzer.js +13 -4
  3. data/app/controllers/pulitzer/content_elements_controller.rb +3 -17
  4. data/app/controllers/pulitzer/post_tags_controller.rb +8 -8
  5. data/app/controllers/pulitzer/posts_controller.rb +4 -2
  6. data/app/controllers/pulitzer/versions_controller.rb +13 -4
  7. data/app/helpers/pulitzer/posts_helper.rb +1 -5
  8. data/app/interactions/pulitzer/clone_version.rb +22 -3
  9. data/app/interactions/pulitzer/create_post_tag.rb +6 -8
  10. data/app/interactions/pulitzer/update_version_status.rb +5 -1
  11. data/app/models/pulitzer/content_element.rb +4 -3
  12. data/app/models/pulitzer/post.rb +17 -1
  13. data/app/models/pulitzer/version.rb +11 -1
  14. data/app/validators/pulitzer/content_element_validator.rb +24 -0
  15. data/app/views/pulitzer/content_elements/_form.html.erb +1 -1
  16. data/app/views/pulitzer/content_elements/_index.html.erb +20 -0
  17. data/app/views/pulitzer/content_elements/{index_processing.html.erb → _index_processing.html.erb} +0 -0
  18. data/app/views/pulitzer/content_elements/_new.html.erb +6 -6
  19. data/app/views/pulitzer/content_elements/_show.html.erb +1 -1
  20. data/app/views/pulitzer/content_elements/_show_wrapper.html.erb +2 -2
  21. data/app/views/pulitzer/post_tags/_new.html.erb +3 -3
  22. data/app/views/pulitzer/post_tags/_show.html.erb +3 -3
  23. data/app/views/pulitzer/post_tags/_show_wrapper.html.erb +1 -1
  24. data/app/views/pulitzer/posts/_show.html.erb +1 -1
  25. data/app/views/pulitzer/posts/edit.html.erb +10 -0
  26. data/app/views/pulitzer/versions/_edit.html.erb +41 -0
  27. data/app/views/pulitzer/versions/_form.html.erb +2 -9
  28. data/config/routes.rb +6 -2
  29. data/db/migrate/20160122204201_add_errors_to_version.rb +5 -0
  30. data/lib/pulitzer/version.rb +1 -1
  31. data/spec/dummy/db/development.sqlite3 +0 -0
  32. data/spec/dummy/db/schema.rb +3 -7
  33. data/spec/dummy/db/test.sqlite3 +0 -0
  34. data/spec/dummy/log/test.log +7574 -0
  35. data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/cms_sam_and_snow.jpg +0 -0
  36. data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/sam_and_snow.jpg +0 -0
  37. data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/thumb_sam_and_snow.jpg +0 -0
  38. data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/cms_sam_and_snow.jpg +0 -0
  39. data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/sam_and_snow.jpg +0 -0
  40. data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/thumb_sam_and_snow.jpg +0 -0
  41. data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/cms_sam_and_snow.jpg +0 -0
  42. data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/sam_and_snow.jpg +0 -0
  43. data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/thumb_sam_and_snow.jpg +0 -0
  44. data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/cms_sam_and_snow.jpg +0 -0
  45. data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/sam_and_snow.jpg +0 -0
  46. data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/thumb_sam_and_snow.jpg +0 -0
  47. data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/cms_sam_and_snow.jpg +0 -0
  48. data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/sam_and_snow.jpg +0 -0
  49. data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/thumb_sam_and_snow.jpg +0 -0
  50. data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/cms_sam_and_snow.jpg +0 -0
  51. data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/sam_and_snow.jpg +0 -0
  52. data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/thumb_sam_and_snow.jpg +0 -0
  53. data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/cms_sam_and_snow.jpg +0 -0
  54. data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/sam_and_snow.jpg +0 -0
  55. data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/thumb_sam_and_snow.jpg +0 -0
  56. data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/cms_sam_and_snow.jpg +0 -0
  57. data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/sam_and_snow.jpg +0 -0
  58. data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/thumb_sam_and_snow.jpg +0 -0
  59. data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/cms_sam_and_snow.jpg +0 -0
  60. data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/sam_and_snow.jpg +0 -0
  61. data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/thumb_sam_and_snow.jpg +0 -0
  62. data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/cms_sam_and_snow.jpg +0 -0
  63. data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/sam_and_snow.jpg +0 -0
  64. data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/thumb_sam_and_snow.jpg +0 -0
  65. data/spec/interactions/clone_version_spec.rb +2 -0
  66. data/spec/models/content_element_spec.rb +0 -2
  67. data/spec/models/version_spec.rb +1 -1
  68. metadata +130 -9
  69. data/app/views/pulitzer/content_elements/index.html.erb +0 -39
  70. data/app/views/pulitzer/posts/show.html.erb +0 -6

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.