pulitzer 0.3.9 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/pulitzer.scss +10 -1
  3. data/app/controllers/pulitzer/content_elements_controller.rb +0 -12
  4. data/app/controllers/pulitzer/free_form_section_types_controller.rb +48 -0
  5. data/app/controllers/pulitzer/layouts_controller.rb +43 -0
  6. data/app/controllers/pulitzer/partials_controller.rb +52 -0
  7. data/app/interactions/pulitzer/clone_version.rb +10 -0
  8. data/app/interactions/pulitzer/create_partial_content_elements.rb +20 -0
  9. data/app/interactions/pulitzer/create_post_content_elements.rb +3 -0
  10. data/app/interactions/pulitzer/create_post_type_free_form_sections.rb +17 -0
  11. data/app/interactions/pulitzer/destroy_post_type_free_form_sections.rb +16 -0
  12. data/app/interactions/pulitzer/update_post_type_free_form_sections.rb +17 -0
  13. data/app/models/pulitzer/free_form_section.rb +20 -0
  14. data/app/models/pulitzer/free_form_section_type.rb +7 -0
  15. data/app/models/pulitzer/layout.rb +11 -0
  16. data/app/models/pulitzer/partial.rb +50 -0
  17. data/app/models/pulitzer/post.rb +1 -1
  18. data/app/models/pulitzer/post_type.rb +10 -6
  19. data/app/models/pulitzer/version.rb +10 -1
  20. data/app/views/pulitzer/content_elements/_form.html.erb +1 -1
  21. data/app/views/pulitzer/content_elements/_index.html.erb +1 -16
  22. data/app/views/pulitzer/content_elements/_partial_index.html.erb +5 -0
  23. data/app/views/pulitzer/content_elements/_show.html.erb +1 -1
  24. data/app/views/pulitzer/free_form_section_types/_form.html.erb +8 -0
  25. data/app/views/pulitzer/free_form_section_types/_form_fields.html.erb +2 -0
  26. data/app/views/pulitzer/free_form_section_types/_new.html.erb +7 -0
  27. data/app/views/pulitzer/free_form_section_types/_show.html.erb +9 -0
  28. data/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb +3 -0
  29. data/app/views/pulitzer/free_form_sections/_index.html.erb +3 -0
  30. data/app/views/pulitzer/free_form_sections/_show.html.erb +2 -0
  31. data/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb +3 -0
  32. data/app/views/pulitzer/layouts/_form.html.erb +8 -0
  33. data/app/views/pulitzer/layouts/_form_fields.html.erb +2 -0
  34. data/app/views/pulitzer/layouts/_new.html.erb +7 -0
  35. data/app/views/pulitzer/layouts/_show.html.erb +9 -0
  36. data/app/views/pulitzer/layouts/_show_wrapper.html.erb +3 -0
  37. data/app/views/pulitzer/partials/_fields.html.erb +2 -0
  38. data/app/views/pulitzer/partials/_form.html.erb +11 -0
  39. data/app/views/pulitzer/partials/_index.html.erb +12 -0
  40. data/app/views/pulitzer/partials/_new.html.erb +16 -0
  41. data/app/views/pulitzer/partials/_show.html.erb +7 -0
  42. data/app/views/pulitzer/partials/_show_wrapper.html.erb +3 -0
  43. data/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb +4 -4
  44. data/app/views/pulitzer/post_types/_form.html.erb +1 -1
  45. data/app/views/pulitzer/post_types/_form_fields.html.erb +10 -3
  46. data/app/views/pulitzer/post_types/_show.html.erb +27 -6
  47. data/app/views/pulitzer/versions/_edit.html.erb +11 -5
  48. data/config/routes.rb +5 -1
  49. data/db/migrate/20160511192041_create_partials.rb +9 -0
  50. data/db/migrate/20160512214545_add_partial_to_content_element.rb +5 -0
  51. data/db/migrate/20160513153209_create_free_form_section_type.rb +8 -0
  52. data/db/migrate/20160513153214_create_free_form_section.rb +9 -0
  53. data/db/migrate/20160516150237_fix_post_type_kinds.rb +7 -0
  54. data/db/migrate/20160517181706_create_layouts.rb +8 -0
  55. data/db/migrate/20160517182500_add_layout_to_partial.rb +5 -0
  56. data/lib/pulitzer.rb +3 -1
  57. data/lib/pulitzer/version.rb +1 -1
  58. data/spec/controllers/pulitzer/free_form_section_types_controller_spec.rb +45 -0
  59. data/spec/controllers/pulitzer/partials_controller_spec.rb +42 -0
  60. data/spec/dummy/db/development.sqlite3 +0 -0
  61. data/spec/dummy/db/schema.rb +25 -1
  62. data/spec/dummy/db/test.sqlite3 +0 -0
  63. data/spec/dummy/log/development.log +151 -0
  64. data/spec/dummy/log/test.log +49898 -0
  65. data/spec/dummy/public/uploads/tmp/1452811005-24393-0063/sam_and_snow.jpg +0 -0
  66. data/spec/dummy/public/uploads/tmp/1452811005-24393-0063/thumb_sam_and_snow.jpg +0 -0
  67. data/spec/dummy/public/uploads/tmp/1452811173-24792-0199/sam_and_snow.jpg +0 -0
  68. data/spec/dummy/public/uploads/tmp/1452811173-24792-0199/thumb_sam_and_snow.jpg +0 -0
  69. data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/cms_sam_and_snow.jpg +0 -0
  70. data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg +0 -0
  71. data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg +0 -0
  72. data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg +0 -0
  73. data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg +0 -0
  74. data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg +0 -0
  75. data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg +0 -0
  76. data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg +0 -0
  77. data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg +0 -0
  78. data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg +0 -0
  79. data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg +0 -0
  80. data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg +0 -0
  81. data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg +0 -0
  82. data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg +0 -0
  83. data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg +0 -0
  84. data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg +0 -0
  85. data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg +0 -0
  86. data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg +0 -0
  87. data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg +0 -0
  88. data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg +0 -0
  89. data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg +0 -0
  90. data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg +0 -0
  91. data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg +0 -0
  92. data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg +0 -0
  93. data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg +0 -0
  94. data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg +0 -0
  95. data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg +0 -0
  96. data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg +0 -0
  97. data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg +0 -0
  98. data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg +0 -0
  99. data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg +0 -0
  100. data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg +0 -0
  101. data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg +0 -0
  102. data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg +0 -0
  103. data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg +0 -0
  104. data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg +0 -0
  105. data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg +0 -0
  106. data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg +0 -0
  107. data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg +0 -0
  108. data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg +0 -0
  109. data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg +0 -0
  110. data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg +0 -0
  111. data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg +0 -0
  112. data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg +0 -0
  113. data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg +0 -0
  114. data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg +0 -0
  115. data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg +0 -0
  116. data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg +0 -0
  117. data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg +0 -0
  118. data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg +0 -0
  119. data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg +0 -0
  120. data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg +0 -0
  121. data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg +0 -0
  122. data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg +0 -0
  123. data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg +0 -0
  124. data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg +0 -0
  125. data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg +0 -0
  126. data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg +0 -0
  127. data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg +0 -0
  128. data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg +0 -0
  129. data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg +0 -0
  130. data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg +0 -0
  131. data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg +0 -0
  132. data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/cms_sam_and_snow.jpg +0 -0
  133. data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/sam_and_snow.jpg +0 -0
  134. data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/thumb_sam_and_snow.jpg +0 -0
  135. data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/cms_sam_and_snow.jpg +0 -0
  136. data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/sam_and_snow.jpg +0 -0
  137. data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/thumb_sam_and_snow.jpg +0 -0
  138. data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/cms_sam_and_snow.jpg +0 -0
  139. data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/sam_and_snow.jpg +0 -0
  140. data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/thumb_sam_and_snow.jpg +0 -0
  141. data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/cms_sam_and_snow.jpg +0 -0
  142. data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/sam_and_snow.jpg +0 -0
  143. data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/thumb_sam_and_snow.jpg +0 -0
  144. data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/cms_sam_and_snow.jpg +0 -0
  145. data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/sam_and_snow.jpg +0 -0
  146. data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/thumb_sam_and_snow.jpg +0 -0
  147. data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/cms_sam_and_snow.jpg +0 -0
  148. data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/sam_and_snow.jpg +0 -0
  149. data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/thumb_sam_and_snow.jpg +0 -0
  150. data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/cms_sam_and_snow.jpg +0 -0
  151. data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/sam_and_snow.jpg +0 -0
  152. data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/thumb_sam_and_snow.jpg +0 -0
  153. data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/cms_sam_and_snow.jpg +0 -0
  154. data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/sam_and_snow.jpg +0 -0
  155. data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/thumb_sam_and_snow.jpg +0 -0
  156. data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/cms_sam_and_snow.jpg +0 -0
  157. data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/sam_and_snow.jpg +0 -0
  158. data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/thumb_sam_and_snow.jpg +0 -0
  159. data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/cms_sam_and_snow.jpg +0 -0
  160. data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/sam_and_snow.jpg +0 -0
  161. data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/thumb_sam_and_snow.jpg +0 -0
  162. data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/cms_sam_and_snow.jpg +0 -0
  163. data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/sam_and_snow.jpg +0 -0
  164. data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/thumb_sam_and_snow.jpg +0 -0
  165. data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/cms_sam_and_snow.jpg +0 -0
  166. data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/sam_and_snow.jpg +0 -0
  167. data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/thumb_sam_and_snow.jpg +0 -0
  168. data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/cms_sam_and_snow.jpg +0 -0
  169. data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/sam_and_snow.jpg +0 -0
  170. data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/thumb_sam_and_snow.jpg +0 -0
  171. data/spec/dummy/public/uploads/tmp/1463429995-65562-0251/cms_sam_and_snow.jpg +0 -0
  172. data/spec/dummy/public/uploads/tmp/1463429995-65562-0251/sam_and_snow.jpg +0 -0
  173. data/spec/dummy/public/uploads/tmp/1463429995-65562-0251/thumb_sam_and_snow.jpg +0 -0
  174. data/spec/dummy/public/uploads/tmp/1463430043-65638-7727/cms_sam_and_snow.jpg +0 -0
  175. data/spec/dummy/public/uploads/tmp/1463430043-65638-7727/sam_and_snow.jpg +0 -0
  176. data/spec/dummy/public/uploads/tmp/1463430043-65638-7727/thumb_sam_and_snow.jpg +0 -0
  177. data/spec/dummy/public/uploads/tmp/1463432105-68023-3063/cms_sam_and_snow.jpg +0 -0
  178. data/spec/dummy/public/uploads/tmp/1463432105-68023-3063/sam_and_snow.jpg +0 -0
  179. data/spec/dummy/public/uploads/tmp/1463432105-68023-3063/thumb_sam_and_snow.jpg +0 -0
  180. data/spec/dummy/public/uploads/tmp/1463432295-68282-2138/cms_sam_and_snow.jpg +0 -0
  181. data/spec/dummy/public/uploads/tmp/1463432295-68282-2138/sam_and_snow.jpg +0 -0
  182. data/spec/dummy/public/uploads/tmp/1463432295-68282-2138/thumb_sam_and_snow.jpg +0 -0
  183. data/spec/dummy/public/uploads/tmp/1463432657-68730-3477/cms_sam_and_snow.jpg +0 -0
  184. data/spec/dummy/public/uploads/tmp/1463432657-68730-3477/sam_and_snow.jpg +0 -0
  185. data/spec/dummy/public/uploads/tmp/1463432657-68730-3477/thumb_sam_and_snow.jpg +0 -0
  186. data/spec/dummy/public/uploads/tmp/1463432704-68798-5985/cms_sam_and_snow.jpg +0 -0
  187. data/spec/dummy/public/uploads/tmp/1463432704-68798-5985/sam_and_snow.jpg +0 -0
  188. data/spec/dummy/public/uploads/tmp/1463432704-68798-5985/thumb_sam_and_snow.jpg +0 -0
  189. data/spec/dummy/public/uploads/tmp/1463432882-69024-4017/cms_sam_and_snow.jpg +0 -0
  190. data/spec/dummy/public/uploads/tmp/1463432882-69024-4017/sam_and_snow.jpg +0 -0
  191. data/spec/dummy/public/uploads/tmp/1463432882-69024-4017/thumb_sam_and_snow.jpg +0 -0
  192. data/spec/dummy/public/uploads/tmp/1463432913-69082-5884/cms_sam_and_snow.jpg +0 -0
  193. data/spec/dummy/public/uploads/tmp/1463432913-69082-5884/sam_and_snow.jpg +0 -0
  194. data/spec/dummy/public/uploads/tmp/1463432913-69082-5884/thumb_sam_and_snow.jpg +0 -0
  195. data/spec/dummy/public/uploads/tmp/1463442041-78001-4031/cms_sam_and_snow.jpg +0 -0
  196. data/spec/dummy/public/uploads/tmp/1463442041-78001-4031/sam_and_snow.jpg +0 -0
  197. data/spec/dummy/public/uploads/tmp/1463442041-78001-4031/thumb_sam_and_snow.jpg +0 -0
  198. data/spec/dummy/public/uploads/tmp/1463442140-78140-3268/cms_sam_and_snow.jpg +0 -0
  199. data/spec/dummy/public/uploads/tmp/1463442140-78140-3268/sam_and_snow.jpg +0 -0
  200. data/spec/dummy/public/uploads/tmp/1463442140-78140-3268/thumb_sam_and_snow.jpg +0 -0
  201. data/spec/dummy/public/uploads/tmp/1463442186-78198-7364/cms_sam_and_snow.jpg +0 -0
  202. data/spec/dummy/public/uploads/tmp/1463442186-78198-7364/sam_and_snow.jpg +0 -0
  203. data/spec/dummy/public/uploads/tmp/1463442186-78198-7364/thumb_sam_and_snow.jpg +0 -0
  204. data/spec/dummy/public/uploads/tmp/1463442776-78848-1943/cms_sam_and_snow.jpg +0 -0
  205. data/spec/dummy/public/uploads/tmp/1463442776-78848-1943/sam_and_snow.jpg +0 -0
  206. data/spec/dummy/public/uploads/tmp/1463442776-78848-1943/thumb_sam_and_snow.jpg +0 -0
  207. data/spec/dummy/public/uploads/tmp/1463442832-78935-6772/cms_sam_and_snow.jpg +0 -0
  208. data/spec/dummy/public/uploads/tmp/1463442832-78935-6772/sam_and_snow.jpg +0 -0
  209. data/spec/dummy/public/uploads/tmp/1463442832-78935-6772/thumb_sam_and_snow.jpg +0 -0
  210. data/spec/dummy/public/uploads/tmp/1463442860-78978-8181/cms_sam_and_snow.jpg +0 -0
  211. data/spec/dummy/public/uploads/tmp/1463442860-78978-8181/sam_and_snow.jpg +0 -0
  212. data/spec/dummy/public/uploads/tmp/1463442860-78978-8181/thumb_sam_and_snow.jpg +0 -0
  213. data/spec/dummy/public/uploads/tmp/1463443482-79702-8123/cms_sam_and_snow.jpg +0 -0
  214. data/spec/dummy/public/uploads/tmp/1463443482-79702-8123/sam_and_snow.jpg +0 -0
  215. data/spec/dummy/public/uploads/tmp/1463443482-79702-8123/thumb_sam_and_snow.jpg +0 -0
  216. data/spec/dummy/public/uploads/tmp/1463443627-79922-4880/cms_sam_and_snow.jpg +0 -0
  217. data/spec/dummy/public/uploads/tmp/1463443627-79922-4880/sam_and_snow.jpg +0 -0
  218. data/spec/dummy/public/uploads/tmp/1463443627-79922-4880/thumb_sam_and_snow.jpg +0 -0
  219. data/spec/dummy/public/uploads/tmp/1463443847-80184-3453/cms_sam_and_snow.jpg +0 -0
  220. data/spec/dummy/public/uploads/tmp/1463443847-80184-3453/sam_and_snow.jpg +0 -0
  221. data/spec/dummy/public/uploads/tmp/1463443847-80184-3453/thumb_sam_and_snow.jpg +0 -0
  222. data/spec/dummy/public/uploads/tmp/1463444011-80461-3483/cms_sam_and_snow.jpg +0 -0
  223. data/spec/dummy/public/uploads/tmp/1463444011-80461-3483/sam_and_snow.jpg +0 -0
  224. data/spec/dummy/public/uploads/tmp/1463444011-80461-3483/thumb_sam_and_snow.jpg +0 -0
  225. data/spec/dummy/public/uploads/tmp/1463500404-81001-9924/cms_sam_and_snow.jpg +0 -0
  226. data/spec/dummy/public/uploads/tmp/1463500404-81001-9924/sam_and_snow.jpg +0 -0
  227. data/spec/dummy/public/uploads/tmp/1463500404-81001-9924/thumb_sam_and_snow.jpg +0 -0
  228. data/spec/dummy/public/uploads/tmp/1463500762-81388-3536/cms_sam_and_snow.jpg +0 -0
  229. data/spec/dummy/public/uploads/tmp/1463500762-81388-3536/sam_and_snow.jpg +0 -0
  230. data/spec/dummy/public/uploads/tmp/1463500762-81388-3536/thumb_sam_and_snow.jpg +0 -0
  231. data/spec/dummy/public/uploads/tmp/1463500770-81454-6155/cms_sam_and_snow.jpg +0 -0
  232. data/spec/dummy/public/uploads/tmp/1463500770-81454-6155/sam_and_snow.jpg +0 -0
  233. data/spec/dummy/public/uploads/tmp/1463500770-81454-6155/thumb_sam_and_snow.jpg +0 -0
  234. data/spec/dummy/public/uploads/tmp/1463500842-81525-6615/cms_sam_and_snow.jpg +0 -0
  235. data/spec/dummy/public/uploads/tmp/1463500842-81525-6615/sam_and_snow.jpg +0 -0
  236. data/spec/dummy/public/uploads/tmp/1463500842-81525-6615/thumb_sam_and_snow.jpg +0 -0
  237. data/spec/dummy/public/uploads/tmp/1463500982-81717-1186/cms_sam_and_snow.jpg +0 -0
  238. data/spec/dummy/public/uploads/tmp/1463500982-81717-1186/sam_and_snow.jpg +0 -0
  239. data/spec/dummy/public/uploads/tmp/1463500982-81717-1186/thumb_sam_and_snow.jpg +0 -0
  240. data/spec/dummy/public/uploads/tmp/1463607059-57999-0085/cms_sam_and_snow.jpg +0 -0
  241. data/spec/dummy/public/uploads/tmp/1463607059-57999-0085/sam_and_snow.jpg +0 -0
  242. data/spec/dummy/public/uploads/tmp/1463607059-57999-0085/thumb_sam_and_snow.jpg +0 -0
  243. data/spec/factories/post_type.rb +8 -0
  244. data/spec/factories/version.rb +8 -0
  245. data/spec/interactions/clone_version_spec.rb +8 -0
  246. data/spec/interactions/create_partial_content_elements_spec.rb +16 -0
  247. data/spec/interactions/create_post_content_elements_spec.rb +9 -0
  248. data/spec/models/post_type_spec.rb +1 -1
  249. metadata +449 -42
  250. data/app/views/pulitzer/content_elements/_new.html.erb +0 -25
@@ -10,6 +10,14 @@ describe Pulitzer::CloneVersion do
10
10
  expect(new_version.content_elements.size).to eq 3
11
11
  end
12
12
 
13
+ it 'Clones version free form sections' do
14
+ ff_version = create(:version, :with_free_form_sections)
15
+ expect(ff_version.free_form_sections.size).to eq 3
16
+ ff_version.post.create_processing_version
17
+ new_version = Pulitzer::CloneVersion.new(ff_version).call
18
+ expect(new_version.free_form_sections.size).to eq 3
19
+ end
20
+
13
21
  it 'Clones a valid content element' do
14
22
  version.post.create_processing_version
15
23
  new_version = Pulitzer::CloneVersion.new(version).call
@@ -0,0 +1,16 @@
1
+ require 'rails_helper'
2
+
3
+ describe Pulitzer::CreatePartialContentElements do
4
+ let(:post_type) { pt = create(:post_type, :with_content_elements)
5
+ pt.update_columns(kind: Pulitzer::PostType.kinds[:partial])
6
+ pt }
7
+ let(:free_form_section) { Pulitzer::FreeFormSection.create name: 'test'}
8
+ let(:partial) { free_form_section.partials.create(post_type_id: post_type.id) }
9
+
10
+ it 'Copies content elements to preview version' do
11
+ expect(post_type.post_type_content_element_types.size).to eq 3
12
+ expect(partial.content_elements.size).to eq 0
13
+ Pulitzer::CreatePartialContentElements.new(partial).call
14
+ expect(partial.content_elements.size).to eq 3
15
+ end
16
+ end
@@ -10,4 +10,13 @@ describe Pulitzer::CreatePostContentElements do
10
10
  Pulitzer::CreatePostContentElements.new(post).call
11
11
  expect(post.preview_version.content_elements.size).to eq 3
12
12
  end
13
+
14
+ it 'Copies free form sections to preview version' do
15
+ ff_post_type = create(:post_type, :with_free_form_sections)
16
+ ff_post = ff_post_type.posts.create title: 'test'
17
+ expect(ff_post_type.free_form_section_types.size).to eq 3
18
+ expect(ff_post.preview_version.free_form_sections.size).to eq 0
19
+ Pulitzer::CreatePostContentElements.new(ff_post).call
20
+ expect(ff_post.preview_version.free_form_sections.size).to eq 3
21
+ end
13
22
  end
@@ -20,6 +20,6 @@ describe Pulitzer::PostType do
20
20
 
21
21
  describe 'ActiveRecord enums' do
22
22
  it { should define_enum_for(:kind).
23
- with([:template, :free_form, :hybrid]) }
23
+ with([:template, :partial]) }
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-05 00:00:00.000000000 Z
12
+ date: 2016-05-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -454,6 +454,9 @@ files:
454
454
  - app/assets/stylesheets/pulitzer.scss
455
455
  - app/controllers/pulitzer/application_controller.rb
456
456
  - app/controllers/pulitzer/content_elements_controller.rb
457
+ - app/controllers/pulitzer/free_form_section_types_controller.rb
458
+ - app/controllers/pulitzer/layouts_controller.rb
459
+ - app/controllers/pulitzer/partials_controller.rb
457
460
  - app/controllers/pulitzer/post_tags_controller.rb
458
461
  - app/controllers/pulitzer/post_type_content_element_types_controller.rb
459
462
  - app/controllers/pulitzer/post_types_controller.rb
@@ -462,18 +465,26 @@ files:
462
465
  - app/helpers/pulitzer/application_helper.rb
463
466
  - app/helpers/pulitzer/posts_helper.rb
464
467
  - app/interactions/pulitzer/clone_version.rb
468
+ - app/interactions/pulitzer/create_partial_content_elements.rb
465
469
  - app/interactions/pulitzer/create_post_content_elements.rb
466
470
  - app/interactions/pulitzer/create_post_tag.rb
467
471
  - app/interactions/pulitzer/create_post_type_content_elements.rb
472
+ - app/interactions/pulitzer/create_post_type_free_form_sections.rb
468
473
  - app/interactions/pulitzer/create_singleton_post.rb
469
474
  - app/interactions/pulitzer/destroy_post_type_content_elements.rb
475
+ - app/interactions/pulitzer/destroy_post_type_free_form_sections.rb
470
476
  - app/interactions/pulitzer/update_post_type_content_elements.rb
477
+ - app/interactions/pulitzer/update_post_type_free_form_sections.rb
471
478
  - app/interactions/pulitzer/update_singleton_post.rb
472
479
  - app/interactions/pulitzer/update_version_status.rb
473
480
  - app/jobs/pulitzer/clone_version_job.rb
474
481
  - app/jobs/pulitzer/reprocess_content_image_job.rb
475
482
  - app/models/pulitzer/content_element.rb
476
483
  - app/models/pulitzer/content_element_type.rb
484
+ - app/models/pulitzer/free_form_section.rb
485
+ - app/models/pulitzer/free_form_section_type.rb
486
+ - app/models/pulitzer/layout.rb
487
+ - app/models/pulitzer/partial.rb
477
488
  - app/models/pulitzer/post.rb
478
489
  - app/models/pulitzer/post_tag.rb
479
490
  - app/models/pulitzer/post_type.rb
@@ -487,11 +498,30 @@ files:
487
498
  - app/views/pulitzer/content_elements/_image_fields.html.erb
488
499
  - app/views/pulitzer/content_elements/_index.html.erb
489
500
  - app/views/pulitzer/content_elements/_index_processing.html.erb
490
- - app/views/pulitzer/content_elements/_new.html.erb
501
+ - app/views/pulitzer/content_elements/_partial_index.html.erb
491
502
  - app/views/pulitzer/content_elements/_show.html.erb
492
503
  - app/views/pulitzer/content_elements/_show_wrapper.html.erb
493
504
  - app/views/pulitzer/content_elements/_text_fields.html.erb
494
505
  - app/views/pulitzer/content_elements/_video_fields.html.erb
506
+ - app/views/pulitzer/free_form_section_types/_form.html.erb
507
+ - app/views/pulitzer/free_form_section_types/_form_fields.html.erb
508
+ - app/views/pulitzer/free_form_section_types/_new.html.erb
509
+ - app/views/pulitzer/free_form_section_types/_show.html.erb
510
+ - app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb
511
+ - app/views/pulitzer/free_form_sections/_index.html.erb
512
+ - app/views/pulitzer/free_form_sections/_show.html.erb
513
+ - app/views/pulitzer/free_form_sections/_show_wrapper.html.erb
514
+ - app/views/pulitzer/layouts/_form.html.erb
515
+ - app/views/pulitzer/layouts/_form_fields.html.erb
516
+ - app/views/pulitzer/layouts/_new.html.erb
517
+ - app/views/pulitzer/layouts/_show.html.erb
518
+ - app/views/pulitzer/layouts/_show_wrapper.html.erb
519
+ - app/views/pulitzer/partials/_fields.html.erb
520
+ - app/views/pulitzer/partials/_form.html.erb
521
+ - app/views/pulitzer/partials/_index.html.erb
522
+ - app/views/pulitzer/partials/_new.html.erb
523
+ - app/views/pulitzer/partials/_show.html.erb
524
+ - app/views/pulitzer/partials/_show_wrapper.html.erb
495
525
  - app/views/pulitzer/post_tags/_new.html.erb
496
526
  - app/views/pulitzer/post_tags/_show.html.erb
497
527
  - app/views/pulitzer/post_tags/_show_wrapper.html.erb
@@ -536,11 +566,20 @@ files:
536
566
  - db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb
537
567
  - db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb
538
568
  - db/migrate/20160122204201_add_errors_to_version.rb
569
+ - db/migrate/20160511192041_create_partials.rb
570
+ - db/migrate/20160512214545_add_partial_to_content_element.rb
571
+ - db/migrate/20160513153209_create_free_form_section_type.rb
572
+ - db/migrate/20160513153214_create_free_form_section.rb
573
+ - db/migrate/20160516150237_fix_post_type_kinds.rb
574
+ - db/migrate/20160517181706_create_layouts.rb
575
+ - db/migrate/20160517182500_add_layout_to_partial.rb
539
576
  - lib/pulitzer.rb
540
577
  - lib/pulitzer/content_element_helper.rb
541
578
  - lib/pulitzer/engine.rb
542
579
  - lib/pulitzer/version.rb
543
580
  - lib/tasks/pulitzer_tasks.rake
581
+ - spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
582
+ - spec/controllers/pulitzer/partials_controller_spec.rb
544
583
  - spec/dummy/README.rdoc
545
584
  - spec/dummy/Rakefile
546
585
  - spec/dummy/app/assets/javascripts/application.js
@@ -581,12 +620,194 @@ files:
581
620
  - spec/dummy/config/locales/en.yml
582
621
  - spec/dummy/config/routes.rb
583
622
  - spec/dummy/config/secrets.yml
623
+ - spec/dummy/db/development.sqlite3
584
624
  - spec/dummy/db/migrate/20150901153531_create_search_locations.rb
585
625
  - spec/dummy/db/schema.rb
626
+ - spec/dummy/db/test.sqlite3
627
+ - spec/dummy/log/development.log
628
+ - spec/dummy/log/test.log
586
629
  - spec/dummy/public/404.html
587
630
  - spec/dummy/public/422.html
588
631
  - spec/dummy/public/500.html
589
632
  - spec/dummy/public/favicon.ico
633
+ - spec/dummy/public/uploads/tmp/1452811005-24393-0063/sam_and_snow.jpg
634
+ - spec/dummy/public/uploads/tmp/1452811005-24393-0063/thumb_sam_and_snow.jpg
635
+ - spec/dummy/public/uploads/tmp/1452811173-24792-0199/sam_and_snow.jpg
636
+ - spec/dummy/public/uploads/tmp/1452811173-24792-0199/thumb_sam_and_snow.jpg
637
+ - spec/dummy/public/uploads/tmp/1453327522-88240-8875/cms_sam_and_snow.jpg
638
+ - spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg
639
+ - spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg
640
+ - spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg
641
+ - spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg
642
+ - spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg
643
+ - spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg
644
+ - spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg
645
+ - spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg
646
+ - spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg
647
+ - spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg
648
+ - spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg
649
+ - spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg
650
+ - spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg
651
+ - spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg
652
+ - spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg
653
+ - spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg
654
+ - spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg
655
+ - spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg
656
+ - spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg
657
+ - spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg
658
+ - spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg
659
+ - spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg
660
+ - spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg
661
+ - spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg
662
+ - spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg
663
+ - spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg
664
+ - spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg
665
+ - spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg
666
+ - spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg
667
+ - spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg
668
+ - spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg
669
+ - spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg
670
+ - spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg
671
+ - spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg
672
+ - spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg
673
+ - spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg
674
+ - spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg
675
+ - spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg
676
+ - spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg
677
+ - spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg
678
+ - spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg
679
+ - spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg
680
+ - spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg
681
+ - spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg
682
+ - spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg
683
+ - spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg
684
+ - spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg
685
+ - spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg
686
+ - spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg
687
+ - spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg
688
+ - spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg
689
+ - spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg
690
+ - spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg
691
+ - spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg
692
+ - spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg
693
+ - spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg
694
+ - spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg
695
+ - spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg
696
+ - spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg
697
+ - spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg
698
+ - spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg
699
+ - spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg
700
+ - spec/dummy/public/uploads/tmp/1453739521-68535-5576/cms_sam_and_snow.jpg
701
+ - spec/dummy/public/uploads/tmp/1453739521-68535-5576/sam_and_snow.jpg
702
+ - spec/dummy/public/uploads/tmp/1453739521-68535-5576/thumb_sam_and_snow.jpg
703
+ - spec/dummy/public/uploads/tmp/1453739650-68698-8068/cms_sam_and_snow.jpg
704
+ - spec/dummy/public/uploads/tmp/1453739650-68698-8068/sam_and_snow.jpg
705
+ - spec/dummy/public/uploads/tmp/1453739650-68698-8068/thumb_sam_and_snow.jpg
706
+ - spec/dummy/public/uploads/tmp/1453740957-70195-5923/cms_sam_and_snow.jpg
707
+ - spec/dummy/public/uploads/tmp/1453740957-70195-5923/sam_and_snow.jpg
708
+ - spec/dummy/public/uploads/tmp/1453740957-70195-5923/thumb_sam_and_snow.jpg
709
+ - spec/dummy/public/uploads/tmp/1453741054-70338-5984/cms_sam_and_snow.jpg
710
+ - spec/dummy/public/uploads/tmp/1453741054-70338-5984/sam_and_snow.jpg
711
+ - spec/dummy/public/uploads/tmp/1453741054-70338-5984/thumb_sam_and_snow.jpg
712
+ - spec/dummy/public/uploads/tmp/1453741100-70403-3570/cms_sam_and_snow.jpg
713
+ - spec/dummy/public/uploads/tmp/1453741100-70403-3570/sam_and_snow.jpg
714
+ - spec/dummy/public/uploads/tmp/1453741100-70403-3570/thumb_sam_and_snow.jpg
715
+ - spec/dummy/public/uploads/tmp/1453741119-70445-1368/cms_sam_and_snow.jpg
716
+ - spec/dummy/public/uploads/tmp/1453741119-70445-1368/sam_and_snow.jpg
717
+ - spec/dummy/public/uploads/tmp/1453741119-70445-1368/thumb_sam_and_snow.jpg
718
+ - spec/dummy/public/uploads/tmp/1453741152-70510-7020/cms_sam_and_snow.jpg
719
+ - spec/dummy/public/uploads/tmp/1453741152-70510-7020/sam_and_snow.jpg
720
+ - spec/dummy/public/uploads/tmp/1453741152-70510-7020/thumb_sam_and_snow.jpg
721
+ - spec/dummy/public/uploads/tmp/1453741165-70539-8838/cms_sam_and_snow.jpg
722
+ - spec/dummy/public/uploads/tmp/1453741165-70539-8838/sam_and_snow.jpg
723
+ - spec/dummy/public/uploads/tmp/1453741165-70539-8838/thumb_sam_and_snow.jpg
724
+ - spec/dummy/public/uploads/tmp/1453741192-70601-8114/cms_sam_and_snow.jpg
725
+ - spec/dummy/public/uploads/tmp/1453741192-70601-8114/sam_and_snow.jpg
726
+ - spec/dummy/public/uploads/tmp/1453741192-70601-8114/thumb_sam_and_snow.jpg
727
+ - spec/dummy/public/uploads/tmp/1453741252-70701-6629/cms_sam_and_snow.jpg
728
+ - spec/dummy/public/uploads/tmp/1453741252-70701-6629/sam_and_snow.jpg
729
+ - spec/dummy/public/uploads/tmp/1453741252-70701-6629/thumb_sam_and_snow.jpg
730
+ - spec/dummy/public/uploads/tmp/1454010788-22795-5507/cms_sam_and_snow.jpg
731
+ - spec/dummy/public/uploads/tmp/1454010788-22795-5507/sam_and_snow.jpg
732
+ - spec/dummy/public/uploads/tmp/1454010788-22795-5507/thumb_sam_and_snow.jpg
733
+ - spec/dummy/public/uploads/tmp/1454011239-23492-4674/cms_sam_and_snow.jpg
734
+ - spec/dummy/public/uploads/tmp/1454011239-23492-4674/sam_and_snow.jpg
735
+ - spec/dummy/public/uploads/tmp/1454011239-23492-4674/thumb_sam_and_snow.jpg
736
+ - spec/dummy/public/uploads/tmp/1454011266-23542-4559/cms_sam_and_snow.jpg
737
+ - spec/dummy/public/uploads/tmp/1454011266-23542-4559/sam_and_snow.jpg
738
+ - spec/dummy/public/uploads/tmp/1454011266-23542-4559/thumb_sam_and_snow.jpg
739
+ - spec/dummy/public/uploads/tmp/1463429995-65562-0251/cms_sam_and_snow.jpg
740
+ - spec/dummy/public/uploads/tmp/1463429995-65562-0251/sam_and_snow.jpg
741
+ - spec/dummy/public/uploads/tmp/1463429995-65562-0251/thumb_sam_and_snow.jpg
742
+ - spec/dummy/public/uploads/tmp/1463430043-65638-7727/cms_sam_and_snow.jpg
743
+ - spec/dummy/public/uploads/tmp/1463430043-65638-7727/sam_and_snow.jpg
744
+ - spec/dummy/public/uploads/tmp/1463430043-65638-7727/thumb_sam_and_snow.jpg
745
+ - spec/dummy/public/uploads/tmp/1463432105-68023-3063/cms_sam_and_snow.jpg
746
+ - spec/dummy/public/uploads/tmp/1463432105-68023-3063/sam_and_snow.jpg
747
+ - spec/dummy/public/uploads/tmp/1463432105-68023-3063/thumb_sam_and_snow.jpg
748
+ - spec/dummy/public/uploads/tmp/1463432295-68282-2138/cms_sam_and_snow.jpg
749
+ - spec/dummy/public/uploads/tmp/1463432295-68282-2138/sam_and_snow.jpg
750
+ - spec/dummy/public/uploads/tmp/1463432295-68282-2138/thumb_sam_and_snow.jpg
751
+ - spec/dummy/public/uploads/tmp/1463432657-68730-3477/cms_sam_and_snow.jpg
752
+ - spec/dummy/public/uploads/tmp/1463432657-68730-3477/sam_and_snow.jpg
753
+ - spec/dummy/public/uploads/tmp/1463432657-68730-3477/thumb_sam_and_snow.jpg
754
+ - spec/dummy/public/uploads/tmp/1463432704-68798-5985/cms_sam_and_snow.jpg
755
+ - spec/dummy/public/uploads/tmp/1463432704-68798-5985/sam_and_snow.jpg
756
+ - spec/dummy/public/uploads/tmp/1463432704-68798-5985/thumb_sam_and_snow.jpg
757
+ - spec/dummy/public/uploads/tmp/1463432882-69024-4017/cms_sam_and_snow.jpg
758
+ - spec/dummy/public/uploads/tmp/1463432882-69024-4017/sam_and_snow.jpg
759
+ - spec/dummy/public/uploads/tmp/1463432882-69024-4017/thumb_sam_and_snow.jpg
760
+ - spec/dummy/public/uploads/tmp/1463432913-69082-5884/cms_sam_and_snow.jpg
761
+ - spec/dummy/public/uploads/tmp/1463432913-69082-5884/sam_and_snow.jpg
762
+ - spec/dummy/public/uploads/tmp/1463432913-69082-5884/thumb_sam_and_snow.jpg
763
+ - spec/dummy/public/uploads/tmp/1463442041-78001-4031/cms_sam_and_snow.jpg
764
+ - spec/dummy/public/uploads/tmp/1463442041-78001-4031/sam_and_snow.jpg
765
+ - spec/dummy/public/uploads/tmp/1463442041-78001-4031/thumb_sam_and_snow.jpg
766
+ - spec/dummy/public/uploads/tmp/1463442140-78140-3268/cms_sam_and_snow.jpg
767
+ - spec/dummy/public/uploads/tmp/1463442140-78140-3268/sam_and_snow.jpg
768
+ - spec/dummy/public/uploads/tmp/1463442140-78140-3268/thumb_sam_and_snow.jpg
769
+ - spec/dummy/public/uploads/tmp/1463442186-78198-7364/cms_sam_and_snow.jpg
770
+ - spec/dummy/public/uploads/tmp/1463442186-78198-7364/sam_and_snow.jpg
771
+ - spec/dummy/public/uploads/tmp/1463442186-78198-7364/thumb_sam_and_snow.jpg
772
+ - spec/dummy/public/uploads/tmp/1463442776-78848-1943/cms_sam_and_snow.jpg
773
+ - spec/dummy/public/uploads/tmp/1463442776-78848-1943/sam_and_snow.jpg
774
+ - spec/dummy/public/uploads/tmp/1463442776-78848-1943/thumb_sam_and_snow.jpg
775
+ - spec/dummy/public/uploads/tmp/1463442832-78935-6772/cms_sam_and_snow.jpg
776
+ - spec/dummy/public/uploads/tmp/1463442832-78935-6772/sam_and_snow.jpg
777
+ - spec/dummy/public/uploads/tmp/1463442832-78935-6772/thumb_sam_and_snow.jpg
778
+ - spec/dummy/public/uploads/tmp/1463442860-78978-8181/cms_sam_and_snow.jpg
779
+ - spec/dummy/public/uploads/tmp/1463442860-78978-8181/sam_and_snow.jpg
780
+ - spec/dummy/public/uploads/tmp/1463442860-78978-8181/thumb_sam_and_snow.jpg
781
+ - spec/dummy/public/uploads/tmp/1463443482-79702-8123/cms_sam_and_snow.jpg
782
+ - spec/dummy/public/uploads/tmp/1463443482-79702-8123/sam_and_snow.jpg
783
+ - spec/dummy/public/uploads/tmp/1463443482-79702-8123/thumb_sam_and_snow.jpg
784
+ - spec/dummy/public/uploads/tmp/1463443627-79922-4880/cms_sam_and_snow.jpg
785
+ - spec/dummy/public/uploads/tmp/1463443627-79922-4880/sam_and_snow.jpg
786
+ - spec/dummy/public/uploads/tmp/1463443627-79922-4880/thumb_sam_and_snow.jpg
787
+ - spec/dummy/public/uploads/tmp/1463443847-80184-3453/cms_sam_and_snow.jpg
788
+ - spec/dummy/public/uploads/tmp/1463443847-80184-3453/sam_and_snow.jpg
789
+ - spec/dummy/public/uploads/tmp/1463443847-80184-3453/thumb_sam_and_snow.jpg
790
+ - spec/dummy/public/uploads/tmp/1463444011-80461-3483/cms_sam_and_snow.jpg
791
+ - spec/dummy/public/uploads/tmp/1463444011-80461-3483/sam_and_snow.jpg
792
+ - spec/dummy/public/uploads/tmp/1463444011-80461-3483/thumb_sam_and_snow.jpg
793
+ - spec/dummy/public/uploads/tmp/1463500404-81001-9924/cms_sam_and_snow.jpg
794
+ - spec/dummy/public/uploads/tmp/1463500404-81001-9924/sam_and_snow.jpg
795
+ - spec/dummy/public/uploads/tmp/1463500404-81001-9924/thumb_sam_and_snow.jpg
796
+ - spec/dummy/public/uploads/tmp/1463500762-81388-3536/cms_sam_and_snow.jpg
797
+ - spec/dummy/public/uploads/tmp/1463500762-81388-3536/sam_and_snow.jpg
798
+ - spec/dummy/public/uploads/tmp/1463500762-81388-3536/thumb_sam_and_snow.jpg
799
+ - spec/dummy/public/uploads/tmp/1463500770-81454-6155/cms_sam_and_snow.jpg
800
+ - spec/dummy/public/uploads/tmp/1463500770-81454-6155/sam_and_snow.jpg
801
+ - spec/dummy/public/uploads/tmp/1463500770-81454-6155/thumb_sam_and_snow.jpg
802
+ - spec/dummy/public/uploads/tmp/1463500842-81525-6615/cms_sam_and_snow.jpg
803
+ - spec/dummy/public/uploads/tmp/1463500842-81525-6615/sam_and_snow.jpg
804
+ - spec/dummy/public/uploads/tmp/1463500842-81525-6615/thumb_sam_and_snow.jpg
805
+ - spec/dummy/public/uploads/tmp/1463500982-81717-1186/cms_sam_and_snow.jpg
806
+ - spec/dummy/public/uploads/tmp/1463500982-81717-1186/sam_and_snow.jpg
807
+ - spec/dummy/public/uploads/tmp/1463500982-81717-1186/thumb_sam_and_snow.jpg
808
+ - spec/dummy/public/uploads/tmp/1463607059-57999-0085/cms_sam_and_snow.jpg
809
+ - spec/dummy/public/uploads/tmp/1463607059-57999-0085/sam_and_snow.jpg
810
+ - spec/dummy/public/uploads/tmp/1463607059-57999-0085/thumb_sam_and_snow.jpg
590
811
  - spec/factories/content_element.rb
591
812
  - spec/factories/content_element_type.rb
592
813
  - spec/factories/post.rb
@@ -596,6 +817,7 @@ files:
596
817
  - spec/factories/tag.rb
597
818
  - spec/factories/version.rb
598
819
  - spec/interactions/clone_version_spec.rb
820
+ - spec/interactions/create_partial_content_elements_spec.rb
599
821
  - spec/interactions/create_post_content_elements_spec.rb
600
822
  - spec/interactions/update_version_status_spec.rb
601
823
  - spec/lib/pulitzer_spec.rb
@@ -634,71 +856,256 @@ signing_key:
634
856
  specification_version: 4
635
857
  summary: A content management engine for Ruby on Rails.
636
858
  test_files:
637
- - spec/dummy/app/assets/stylesheets/application.css
638
- - spec/dummy/app/assets/javascripts/jquery.js
859
+ - spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
860
+ - spec/controllers/pulitzer/partials_controller_spec.rb
639
861
  - spec/dummy/app/assets/javascripts/application.js
862
+ - spec/dummy/app/assets/javascripts/jquery.js
863
+ - spec/dummy/app/assets/stylesheets/application.css
864
+ - spec/dummy/app/controllers/application_controller.rb
865
+ - spec/dummy/app/controllers/pages_controller.rb
640
866
  - spec/dummy/app/helpers/application_helper.rb
867
+ - spec/dummy/app/models/ability.rb
868
+ - spec/dummy/app/models/search_location.rb
869
+ - spec/dummy/app/models/user.rb
641
870
  - spec/dummy/app/views/layouts/application.html.erb
642
871
  - spec/dummy/app/views/pages/about_us.html.erb
643
872
  - spec/dummy/app/views/pages/freeform.html.erb
644
873
  - spec/dummy/app/views/pages/news_posts.html.erb
645
874
  - spec/dummy/app/views/toolbars/_simple_editor.html.erb
646
- - spec/dummy/app/controllers/application_controller.rb
647
- - spec/dummy/app/controllers/pages_controller.rb
648
- - spec/dummy/app/models/search_location.rb
649
- - spec/dummy/app/models/ability.rb
650
- - spec/dummy/app/models/user.rb
651
- - spec/dummy/config.ru
652
- - spec/dummy/Rakefile
653
- - spec/dummy/config/locales/en.yml
875
+ - spec/dummy/bin/bundle
876
+ - spec/dummy/bin/rails
877
+ - spec/dummy/bin/rake
878
+ - spec/dummy/bin/setup
879
+ - spec/dummy/config/application.rb
654
880
  - spec/dummy/config/boot.rb
655
881
  - spec/dummy/config/database.yml
656
- - spec/dummy/config/application.rb
882
+ - spec/dummy/config/environment.rb
883
+ - spec/dummy/config/environments/development.rb
657
884
  - spec/dummy/config/environments/production.rb
658
885
  - spec/dummy/config/environments/test.rb
659
- - spec/dummy/config/environments/development.rb
660
- - spec/dummy/config/environment.rb
661
- - spec/dummy/config/routes.rb
662
886
  - spec/dummy/config/initializers/assets.rb
663
- - spec/dummy/config/initializers/wrap_parameters.rb
887
+ - spec/dummy/config/initializers/backtrace_silencers.rb
888
+ - spec/dummy/config/initializers/cookies_serializer.rb
664
889
  - spec/dummy/config/initializers/filter_parameter_logging.rb
665
890
  - spec/dummy/config/initializers/inflections.rb
891
+ - spec/dummy/config/initializers/mime_types.rb
666
892
  - spec/dummy/config/initializers/session_store.rb
893
+ - spec/dummy/config/initializers/wrap_parameters.rb
667
894
  - spec/dummy/config/initializers/zz_pulitzer.rb
668
- - spec/dummy/config/initializers/backtrace_silencers.rb
669
- - spec/dummy/config/initializers/cookies_serializer.rb
670
- - spec/dummy/config/initializers/mime_types.rb
895
+ - spec/dummy/config/locales/en.yml
896
+ - spec/dummy/config/routes.rb
671
897
  - spec/dummy/config/secrets.yml
898
+ - spec/dummy/config.ru
899
+ - spec/dummy/db/development.sqlite3
900
+ - spec/dummy/db/migrate/20150901153531_create_search_locations.rb
901
+ - spec/dummy/db/schema.rb
902
+ - spec/dummy/db/test.sqlite3
903
+ - spec/dummy/log/development.log
904
+ - spec/dummy/log/test.log
672
905
  - spec/dummy/public/404.html
673
906
  - spec/dummy/public/422.html
674
907
  - spec/dummy/public/500.html
675
908
  - spec/dummy/public/favicon.ico
676
- - spec/dummy/db/schema.rb
677
- - spec/dummy/db/migrate/20150901153531_create_search_locations.rb
909
+ - spec/dummy/public/uploads/tmp/1452811005-24393-0063/sam_and_snow.jpg
910
+ - spec/dummy/public/uploads/tmp/1452811005-24393-0063/thumb_sam_and_snow.jpg
911
+ - spec/dummy/public/uploads/tmp/1452811173-24792-0199/sam_and_snow.jpg
912
+ - spec/dummy/public/uploads/tmp/1452811173-24792-0199/thumb_sam_and_snow.jpg
913
+ - spec/dummy/public/uploads/tmp/1453327522-88240-8875/cms_sam_and_snow.jpg
914
+ - spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg
915
+ - spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg
916
+ - spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg
917
+ - spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg
918
+ - spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg
919
+ - spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg
920
+ - spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg
921
+ - spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg
922
+ - spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg
923
+ - spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg
924
+ - spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg
925
+ - spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg
926
+ - spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg
927
+ - spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg
928
+ - spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg
929
+ - spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg
930
+ - spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg
931
+ - spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg
932
+ - spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg
933
+ - spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg
934
+ - spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg
935
+ - spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg
936
+ - spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg
937
+ - spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg
938
+ - spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg
939
+ - spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg
940
+ - spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg
941
+ - spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg
942
+ - spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg
943
+ - spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg
944
+ - spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg
945
+ - spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg
946
+ - spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg
947
+ - spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg
948
+ - spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg
949
+ - spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg
950
+ - spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg
951
+ - spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg
952
+ - spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg
953
+ - spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg
954
+ - spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg
955
+ - spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg
956
+ - spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg
957
+ - spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg
958
+ - spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg
959
+ - spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg
960
+ - spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg
961
+ - spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg
962
+ - spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg
963
+ - spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg
964
+ - spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg
965
+ - spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg
966
+ - spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg
967
+ - spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg
968
+ - spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg
969
+ - spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg
970
+ - spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg
971
+ - spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg
972
+ - spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg
973
+ - spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg
974
+ - spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg
975
+ - spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg
976
+ - spec/dummy/public/uploads/tmp/1453739521-68535-5576/cms_sam_and_snow.jpg
977
+ - spec/dummy/public/uploads/tmp/1453739521-68535-5576/sam_and_snow.jpg
978
+ - spec/dummy/public/uploads/tmp/1453739521-68535-5576/thumb_sam_and_snow.jpg
979
+ - spec/dummy/public/uploads/tmp/1453739650-68698-8068/cms_sam_and_snow.jpg
980
+ - spec/dummy/public/uploads/tmp/1453739650-68698-8068/sam_and_snow.jpg
981
+ - spec/dummy/public/uploads/tmp/1453739650-68698-8068/thumb_sam_and_snow.jpg
982
+ - spec/dummy/public/uploads/tmp/1453740957-70195-5923/cms_sam_and_snow.jpg
983
+ - spec/dummy/public/uploads/tmp/1453740957-70195-5923/sam_and_snow.jpg
984
+ - spec/dummy/public/uploads/tmp/1453740957-70195-5923/thumb_sam_and_snow.jpg
985
+ - spec/dummy/public/uploads/tmp/1453741054-70338-5984/cms_sam_and_snow.jpg
986
+ - spec/dummy/public/uploads/tmp/1453741054-70338-5984/sam_and_snow.jpg
987
+ - spec/dummy/public/uploads/tmp/1453741054-70338-5984/thumb_sam_and_snow.jpg
988
+ - spec/dummy/public/uploads/tmp/1453741100-70403-3570/cms_sam_and_snow.jpg
989
+ - spec/dummy/public/uploads/tmp/1453741100-70403-3570/sam_and_snow.jpg
990
+ - spec/dummy/public/uploads/tmp/1453741100-70403-3570/thumb_sam_and_snow.jpg
991
+ - spec/dummy/public/uploads/tmp/1453741119-70445-1368/cms_sam_and_snow.jpg
992
+ - spec/dummy/public/uploads/tmp/1453741119-70445-1368/sam_and_snow.jpg
993
+ - spec/dummy/public/uploads/tmp/1453741119-70445-1368/thumb_sam_and_snow.jpg
994
+ - spec/dummy/public/uploads/tmp/1453741152-70510-7020/cms_sam_and_snow.jpg
995
+ - spec/dummy/public/uploads/tmp/1453741152-70510-7020/sam_and_snow.jpg
996
+ - spec/dummy/public/uploads/tmp/1453741152-70510-7020/thumb_sam_and_snow.jpg
997
+ - spec/dummy/public/uploads/tmp/1453741165-70539-8838/cms_sam_and_snow.jpg
998
+ - spec/dummy/public/uploads/tmp/1453741165-70539-8838/sam_and_snow.jpg
999
+ - spec/dummy/public/uploads/tmp/1453741165-70539-8838/thumb_sam_and_snow.jpg
1000
+ - spec/dummy/public/uploads/tmp/1453741192-70601-8114/cms_sam_and_snow.jpg
1001
+ - spec/dummy/public/uploads/tmp/1453741192-70601-8114/sam_and_snow.jpg
1002
+ - spec/dummy/public/uploads/tmp/1453741192-70601-8114/thumb_sam_and_snow.jpg
1003
+ - spec/dummy/public/uploads/tmp/1453741252-70701-6629/cms_sam_and_snow.jpg
1004
+ - spec/dummy/public/uploads/tmp/1453741252-70701-6629/sam_and_snow.jpg
1005
+ - spec/dummy/public/uploads/tmp/1453741252-70701-6629/thumb_sam_and_snow.jpg
1006
+ - spec/dummy/public/uploads/tmp/1454010788-22795-5507/cms_sam_and_snow.jpg
1007
+ - spec/dummy/public/uploads/tmp/1454010788-22795-5507/sam_and_snow.jpg
1008
+ - spec/dummy/public/uploads/tmp/1454010788-22795-5507/thumb_sam_and_snow.jpg
1009
+ - spec/dummy/public/uploads/tmp/1454011239-23492-4674/cms_sam_and_snow.jpg
1010
+ - spec/dummy/public/uploads/tmp/1454011239-23492-4674/sam_and_snow.jpg
1011
+ - spec/dummy/public/uploads/tmp/1454011239-23492-4674/thumb_sam_and_snow.jpg
1012
+ - spec/dummy/public/uploads/tmp/1454011266-23542-4559/cms_sam_and_snow.jpg
1013
+ - spec/dummy/public/uploads/tmp/1454011266-23542-4559/sam_and_snow.jpg
1014
+ - spec/dummy/public/uploads/tmp/1454011266-23542-4559/thumb_sam_and_snow.jpg
1015
+ - spec/dummy/public/uploads/tmp/1463429995-65562-0251/cms_sam_and_snow.jpg
1016
+ - spec/dummy/public/uploads/tmp/1463429995-65562-0251/sam_and_snow.jpg
1017
+ - spec/dummy/public/uploads/tmp/1463429995-65562-0251/thumb_sam_and_snow.jpg
1018
+ - spec/dummy/public/uploads/tmp/1463430043-65638-7727/cms_sam_and_snow.jpg
1019
+ - spec/dummy/public/uploads/tmp/1463430043-65638-7727/sam_and_snow.jpg
1020
+ - spec/dummy/public/uploads/tmp/1463430043-65638-7727/thumb_sam_and_snow.jpg
1021
+ - spec/dummy/public/uploads/tmp/1463432105-68023-3063/cms_sam_and_snow.jpg
1022
+ - spec/dummy/public/uploads/tmp/1463432105-68023-3063/sam_and_snow.jpg
1023
+ - spec/dummy/public/uploads/tmp/1463432105-68023-3063/thumb_sam_and_snow.jpg
1024
+ - spec/dummy/public/uploads/tmp/1463432295-68282-2138/cms_sam_and_snow.jpg
1025
+ - spec/dummy/public/uploads/tmp/1463432295-68282-2138/sam_and_snow.jpg
1026
+ - spec/dummy/public/uploads/tmp/1463432295-68282-2138/thumb_sam_and_snow.jpg
1027
+ - spec/dummy/public/uploads/tmp/1463432657-68730-3477/cms_sam_and_snow.jpg
1028
+ - spec/dummy/public/uploads/tmp/1463432657-68730-3477/sam_and_snow.jpg
1029
+ - spec/dummy/public/uploads/tmp/1463432657-68730-3477/thumb_sam_and_snow.jpg
1030
+ - spec/dummy/public/uploads/tmp/1463432704-68798-5985/cms_sam_and_snow.jpg
1031
+ - spec/dummy/public/uploads/tmp/1463432704-68798-5985/sam_and_snow.jpg
1032
+ - spec/dummy/public/uploads/tmp/1463432704-68798-5985/thumb_sam_and_snow.jpg
1033
+ - spec/dummy/public/uploads/tmp/1463432882-69024-4017/cms_sam_and_snow.jpg
1034
+ - spec/dummy/public/uploads/tmp/1463432882-69024-4017/sam_and_snow.jpg
1035
+ - spec/dummy/public/uploads/tmp/1463432882-69024-4017/thumb_sam_and_snow.jpg
1036
+ - spec/dummy/public/uploads/tmp/1463432913-69082-5884/cms_sam_and_snow.jpg
1037
+ - spec/dummy/public/uploads/tmp/1463432913-69082-5884/sam_and_snow.jpg
1038
+ - spec/dummy/public/uploads/tmp/1463432913-69082-5884/thumb_sam_and_snow.jpg
1039
+ - spec/dummy/public/uploads/tmp/1463442041-78001-4031/cms_sam_and_snow.jpg
1040
+ - spec/dummy/public/uploads/tmp/1463442041-78001-4031/sam_and_snow.jpg
1041
+ - spec/dummy/public/uploads/tmp/1463442041-78001-4031/thumb_sam_and_snow.jpg
1042
+ - spec/dummy/public/uploads/tmp/1463442140-78140-3268/cms_sam_and_snow.jpg
1043
+ - spec/dummy/public/uploads/tmp/1463442140-78140-3268/sam_and_snow.jpg
1044
+ - spec/dummy/public/uploads/tmp/1463442140-78140-3268/thumb_sam_and_snow.jpg
1045
+ - spec/dummy/public/uploads/tmp/1463442186-78198-7364/cms_sam_and_snow.jpg
1046
+ - spec/dummy/public/uploads/tmp/1463442186-78198-7364/sam_and_snow.jpg
1047
+ - spec/dummy/public/uploads/tmp/1463442186-78198-7364/thumb_sam_and_snow.jpg
1048
+ - spec/dummy/public/uploads/tmp/1463442776-78848-1943/cms_sam_and_snow.jpg
1049
+ - spec/dummy/public/uploads/tmp/1463442776-78848-1943/sam_and_snow.jpg
1050
+ - spec/dummy/public/uploads/tmp/1463442776-78848-1943/thumb_sam_and_snow.jpg
1051
+ - spec/dummy/public/uploads/tmp/1463442832-78935-6772/cms_sam_and_snow.jpg
1052
+ - spec/dummy/public/uploads/tmp/1463442832-78935-6772/sam_and_snow.jpg
1053
+ - spec/dummy/public/uploads/tmp/1463442832-78935-6772/thumb_sam_and_snow.jpg
1054
+ - spec/dummy/public/uploads/tmp/1463442860-78978-8181/cms_sam_and_snow.jpg
1055
+ - spec/dummy/public/uploads/tmp/1463442860-78978-8181/sam_and_snow.jpg
1056
+ - spec/dummy/public/uploads/tmp/1463442860-78978-8181/thumb_sam_and_snow.jpg
1057
+ - spec/dummy/public/uploads/tmp/1463443482-79702-8123/cms_sam_and_snow.jpg
1058
+ - spec/dummy/public/uploads/tmp/1463443482-79702-8123/sam_and_snow.jpg
1059
+ - spec/dummy/public/uploads/tmp/1463443482-79702-8123/thumb_sam_and_snow.jpg
1060
+ - spec/dummy/public/uploads/tmp/1463443627-79922-4880/cms_sam_and_snow.jpg
1061
+ - spec/dummy/public/uploads/tmp/1463443627-79922-4880/sam_and_snow.jpg
1062
+ - spec/dummy/public/uploads/tmp/1463443627-79922-4880/thumb_sam_and_snow.jpg
1063
+ - spec/dummy/public/uploads/tmp/1463443847-80184-3453/cms_sam_and_snow.jpg
1064
+ - spec/dummy/public/uploads/tmp/1463443847-80184-3453/sam_and_snow.jpg
1065
+ - spec/dummy/public/uploads/tmp/1463443847-80184-3453/thumb_sam_and_snow.jpg
1066
+ - spec/dummy/public/uploads/tmp/1463444011-80461-3483/cms_sam_and_snow.jpg
1067
+ - spec/dummy/public/uploads/tmp/1463444011-80461-3483/sam_and_snow.jpg
1068
+ - spec/dummy/public/uploads/tmp/1463444011-80461-3483/thumb_sam_and_snow.jpg
1069
+ - spec/dummy/public/uploads/tmp/1463500404-81001-9924/cms_sam_and_snow.jpg
1070
+ - spec/dummy/public/uploads/tmp/1463500404-81001-9924/sam_and_snow.jpg
1071
+ - spec/dummy/public/uploads/tmp/1463500404-81001-9924/thumb_sam_and_snow.jpg
1072
+ - spec/dummy/public/uploads/tmp/1463500762-81388-3536/cms_sam_and_snow.jpg
1073
+ - spec/dummy/public/uploads/tmp/1463500762-81388-3536/sam_and_snow.jpg
1074
+ - spec/dummy/public/uploads/tmp/1463500762-81388-3536/thumb_sam_and_snow.jpg
1075
+ - spec/dummy/public/uploads/tmp/1463500770-81454-6155/cms_sam_and_snow.jpg
1076
+ - spec/dummy/public/uploads/tmp/1463500770-81454-6155/sam_and_snow.jpg
1077
+ - spec/dummy/public/uploads/tmp/1463500770-81454-6155/thumb_sam_and_snow.jpg
1078
+ - spec/dummy/public/uploads/tmp/1463500842-81525-6615/cms_sam_and_snow.jpg
1079
+ - spec/dummy/public/uploads/tmp/1463500842-81525-6615/sam_and_snow.jpg
1080
+ - spec/dummy/public/uploads/tmp/1463500842-81525-6615/thumb_sam_and_snow.jpg
1081
+ - spec/dummy/public/uploads/tmp/1463500982-81717-1186/cms_sam_and_snow.jpg
1082
+ - spec/dummy/public/uploads/tmp/1463500982-81717-1186/sam_and_snow.jpg
1083
+ - spec/dummy/public/uploads/tmp/1463500982-81717-1186/thumb_sam_and_snow.jpg
1084
+ - spec/dummy/public/uploads/tmp/1463607059-57999-0085/cms_sam_and_snow.jpg
1085
+ - spec/dummy/public/uploads/tmp/1463607059-57999-0085/sam_and_snow.jpg
1086
+ - spec/dummy/public/uploads/tmp/1463607059-57999-0085/thumb_sam_and_snow.jpg
1087
+ - spec/dummy/Rakefile
678
1088
  - spec/dummy/README.rdoc
679
- - spec/dummy/bin/setup
680
- - spec/dummy/bin/bundle
681
- - spec/dummy/bin/rake
682
- - spec/dummy/bin/rails
683
- - spec/factories/content_element_type.rb
684
- - spec/factories/tag.rb
685
- - spec/factories/post_type_content_element_type.rb
686
- - spec/factories/version.rb
687
- - spec/factories/post_type.rb
688
1089
  - spec/factories/content_element.rb
1090
+ - spec/factories/content_element_type.rb
689
1091
  - spec/factories/post.rb
690
1092
  - spec/factories/post_tag.rb
691
- - spec/spec_helper.rb
692
- - spec/support/files/sam_and_snow.jpg
693
- - spec/models/version_spec.rb
694
- - spec/models/content_element_spec.rb
695
- - spec/models/tag_spec.rb
696
- - spec/models/post_type_spec.rb
697
- - spec/models/post_tag_spec.rb
698
- - spec/models/post_spec.rb
699
- - spec/models/post_type_content_element_type_spec.rb
700
- - spec/rails_helper.rb
1093
+ - spec/factories/post_type.rb
1094
+ - spec/factories/post_type_content_element_type.rb
1095
+ - spec/factories/tag.rb
1096
+ - spec/factories/version.rb
701
1097
  - spec/interactions/clone_version_spec.rb
1098
+ - spec/interactions/create_partial_content_elements_spec.rb
702
1099
  - spec/interactions/create_post_content_elements_spec.rb
703
1100
  - spec/interactions/update_version_status_spec.rb
704
1101
  - spec/lib/pulitzer_spec.rb
1102
+ - spec/models/content_element_spec.rb
1103
+ - spec/models/post_spec.rb
1104
+ - spec/models/post_tag_spec.rb
1105
+ - spec/models/post_type_content_element_type_spec.rb
1106
+ - spec/models/post_type_spec.rb
1107
+ - spec/models/tag_spec.rb
1108
+ - spec/models/version_spec.rb
1109
+ - spec/rails_helper.rb
1110
+ - spec/spec_helper.rb
1111
+ - spec/support/files/sam_and_snow.jpg