pulitzer 0.10.2 → 0.10.3
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.
- checksums.yaml +4 -4
- data/app/interactions/pulitzer/create_post_type_free_form_sections.rb +3 -5
- data/app/uploaders/pulitzer/image_uploader.rb +2 -0
- data/app/views/pulitzer/versions/_edit.html.erb +1 -1
- data/config/initializers/carrierwave.rb +11 -0
- data/lib/pulitzer/version.rb +1 -1
- data/spec/controllers/pulitzer/versions_controller_spec.rb +0 -1
- data/spec/controllers/tags_controller_spec.rb +8 -6
- data/spec/dummy/config/environments/test.rb +2 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +304 -0
- data/spec/dummy/log/test.log +116863 -2757
- data/spec/dummy/public/uploads/tmp/{1488229219-25395-0001-2311 → 1452811005-24393-0063}/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/{1488229219-25395-0001-2311 → 1452811005-24393-0063}/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1452811173-24792-0199/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1452811173-24792-0199/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/{1488229219-25395-0001-2311 → 1453327522-88240-8875}/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327522-88240-8875/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327846-88664-1819/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327891-88742-0077/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327908-88792-8689/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453327942-88859-9073/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328584-89616-8416/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328600-89648-3830/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328621-89685-3083/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328659-89747-3646/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328908-90227-0244/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453328976-90335-7466/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329010-90384-7488/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453329018-90436-7916/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393083-47505-1178/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393088-47594-1406/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393124-47630-8343/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393148-47674-3845/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393221-47816-8142/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393870-48546-6445/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393926-48624-7189/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453393989-48708-0009/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453739521-68535-5576/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453739650-68698-8068/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453740957-70195-5923/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741054-70338-5984/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741100-70403-3570/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741119-70445-1368/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741152-70510-7020/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741165-70539-8838/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741192-70601-8114/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1453741252-70701-6629/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463429995-65562-0251/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463429995-65562-0251/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463429995-65562-0251/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463430043-65638-7727/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463430043-65638-7727/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463430043-65638-7727/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432105-68023-3063/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432105-68023-3063/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432105-68023-3063/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432295-68282-2138/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432295-68282-2138/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432295-68282-2138/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432657-68730-3477/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432657-68730-3477/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432657-68730-3477/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432704-68798-5985/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432704-68798-5985/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432704-68798-5985/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432882-69024-4017/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432882-69024-4017/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432882-69024-4017/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432913-69082-5884/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432913-69082-5884/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463432913-69082-5884/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442041-78001-4031/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442041-78001-4031/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442041-78001-4031/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442140-78140-3268/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442140-78140-3268/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442140-78140-3268/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442186-78198-7364/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442186-78198-7364/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442186-78198-7364/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442776-78848-1943/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442776-78848-1943/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442776-78848-1943/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442832-78935-6772/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442832-78935-6772/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442832-78935-6772/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442860-78978-8181/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442860-78978-8181/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463442860-78978-8181/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443482-79702-8123/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443482-79702-8123/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443482-79702-8123/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443627-79922-4880/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443627-79922-4880/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443627-79922-4880/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443847-80184-3453/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443847-80184-3453/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463443847-80184-3453/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463444011-80461-3483/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463444011-80461-3483/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463444011-80461-3483/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500404-81001-9924/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500404-81001-9924/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500404-81001-9924/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500762-81388-3536/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500762-81388-3536/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500762-81388-3536/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500770-81454-6155/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500770-81454-6155/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500770-81454-6155/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500842-81525-6615/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500842-81525-6615/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500842-81525-6615/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500982-81717-1186/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500982-81717-1186/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463500982-81717-1186/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463607059-57999-0085/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463607059-57999-0085/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463607059-57999-0085/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463674504-87519-0889/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463674504-87519-0889/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463674504-87519-0889/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464017309-58451-6943/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464017309-58451-6943/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464017309-58451-6943/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464019966-61476-8987/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464019966-61476-8987/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464019966-61476-8987/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464026903-68945-9171/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464026903-68945-9171/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1464026903-68945-9171/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1467740087-79204-8644/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1467740087-79204-8644/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1467740087-79204-8644/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046497-17642-0001-8021/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046497-17642-0001-8021/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046497-17642-0001-8021/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046658-17898-0001-8685/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046658-17898-0001-8685/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046658-17898-0001-8685/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481140351-28217-0001-9691/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481140351-28217-0001-9691/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481140351-28217-0001-9691/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141430-29450-0001-0985/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141430-29450-0001-0985/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141430-29450-0001-0985/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141496-29546-0001-1402/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141496-29546-0001-1402/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141496-29546-0001-1402/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141539-29609-0001-4800/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141539-29609-0001-4800/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141539-29609-0001-4800/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141606-29702-0001-0263/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141606-29702-0001-0263/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141606-29702-0001-0263/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141629-29741-0001-0278/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141629-29741-0001-0278/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141629-29741-0001-0278/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141664-29798-0001-4650/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141664-29798-0001-4650/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141664-29798-0001-4650/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141856-30022-0001-5632/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141856-30022-0001-5632/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481141856-30022-0001-5632/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481142046-30250-0001-2196/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481142046-30250-0001-2196/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481142046-30250-0001-2196/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481142072-30292-0001-5787/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481142072-30292-0001-5787/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481142072-30292-0001-5787/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481829526-64587-0001-5441/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481829526-64587-0001-5441/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1481829526-64587-0001-5441/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970251-62078-0001-4985/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970251-62078-0001-4985/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970251-62078-0001-4985/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970305-62157-0001-9938/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970305-62157-0001-9938/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970305-62157-0001-9938/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970908-62842-0001-9595/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970908-62842-0001-9595/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487970908-62842-0001-9595/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487971094-63084-0001-2101/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487971094-63084-0001-2101/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1487971094-63084-0001-2101/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491244141-53419-0001-1817/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491244141-53419-0001-1817/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491245427-54843-0001-4552/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491245427-54843-0001-4552/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491246112-55658-0001-7930/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491246112-55658-0001-7930/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491246836-56451-0001-9424/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491246836-56451-0001-9424/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491246836-56451-0001-9424/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491248520-58069-0001-4761/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491248520-58069-0001-4761/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1491248520-58069-0001-4761/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/6a6b1d4ef8b2d2e171d4a10a545a635415f70c2d/pulitzer.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/066f4cc762c213535019ca66a2f5abb2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/29bea21c1455916a195f3ceb4b7572ef +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2ef4ce971db46bb72a029cfaed14f802 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3f1210b56be2b6be645528301773cf75 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/467b714a93dd156fa93a4d57fbd3e730 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4751b079812f494c83387ae01926f7b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5e30a6b911437f1428dc32c3ae182123 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5f7b529d65d1b9a2d2808ee7e36c9f97 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/67c6607aadd6614d3921a80f6ae55a94 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/71245f91859a3c2f578842bdf3b7655c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/73aa21b31aa1cb2d3c266b4832e8db22 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7fe72ac1c0db1a7e8e7f59cf25e8a39e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/80ec1040de2bb156351376d53e6be389 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/82b37ae9eccec44c1ef44cfdd07d8534 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/91e196e27d739a0d4cd8c6636d45c151 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/97a8182228da7bb4a671627fa919d256 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9a6dbdd7b1cfc12dac2bc2d4ea5c3775 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ad3214cd1541e209ad7fb51e1213afbc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b8c8edf30054e3f41128dac26e82660c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bfab506a5c6fad6fedf2b874dd390bea +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c7fe6d39f4a33e63f0eb60f3f8c55053 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d235f1f779c3b50ba1719bb80a941735 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d4432904cd7996dda37e87ae2eaa965b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e5ff68e12f8901382ac24cb07ed95e9b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e7fd82175670a22ce4fb40eea6d026b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e8542942b033e4b2cd9ed7c6efff30f1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f655996d7a162aadcc37d16e7095be0d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/spec_helper.rb +5 -0
- metadata +605 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9de24ba570441cf00c18e2228d0d611a8e237db
|
|
4
|
+
data.tar.gz: 25e968c2433f7e059511b7f45a2d3d0f17331a1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53f5e6876d6c7e9d54eaae5a250862f4800bc16edb0297c96a6089b943316f7654ca58ba2f0a6d3bbbe21b9e85cb5fd77b7565ad60aa79199dcb253f9f6d9018
|
|
7
|
+
data.tar.gz: f4e9cac1d04b12f7b05609ed22517fb36db42cf47ee81852cbfc026fc8891a54018acaf279d77beb48d6874eee61b42770b1955c26b44d36d75273b5974e417a
|
|
@@ -8,11 +8,9 @@ class Pulitzer::CreatePostTypeFreeFormSections
|
|
|
8
8
|
|
|
9
9
|
def call
|
|
10
10
|
post_type.posts.each do |post|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
ffs.free_form_section_type = ffst
|
|
15
|
-
end
|
|
11
|
+
post.preview_version.free_form_sections.create do |ffs|
|
|
12
|
+
ffs.name = ffst.name
|
|
13
|
+
ffs.free_form_section_type = ffst
|
|
16
14
|
end
|
|
17
15
|
end
|
|
18
16
|
end
|
|
@@ -6,10 +6,12 @@ class Pulitzer::ImageUploader < Pulitzer::BaseUploader
|
|
|
6
6
|
|
|
7
7
|
version :cms, if: :version_available? do
|
|
8
8
|
process :dynamic_resize
|
|
9
|
+
process quality: 65
|
|
9
10
|
end
|
|
10
11
|
|
|
11
12
|
version :thumb, if: :version_available? do
|
|
12
13
|
process resize_to_fill: [200,200]
|
|
14
|
+
process quality: 65
|
|
13
15
|
end
|
|
14
16
|
|
|
15
17
|
def default_url
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<% elsif version.processing? %>
|
|
11
11
|
<h2> Processing Preview for <%= version.title %> </h2>
|
|
12
12
|
<div class="pulitzer-row">
|
|
13
|
-
<progress value="0" max="<%= version.total_processing_elements %>" <%= listener_attrs version, :processed_element_count if defined? ForeignOffice %>></progress>
|
|
13
|
+
<progress value="0" max="<%= version.active_version.present? ? version.total_processing_elements : 50 %>" <%= listener_attrs version, :processed_element_count if defined? ForeignOffice %>></progress>
|
|
14
14
|
</div>
|
|
15
15
|
<a <%= listener_attrs version.post, :new_preview_version, trigger: true if defined? ForeignOffice %>
|
|
16
16
|
<%= ajax_link_attrs(dom_target(version.post, :preview_version)) %> > </a>
|
data/lib/pulitzer/version.rb
CHANGED
|
@@ -35,7 +35,6 @@ describe Pulitzer::VersionsController do
|
|
|
35
35
|
expect(response.status).to eq 200
|
|
36
36
|
expect(active_version.reload.status).to eq 'active'
|
|
37
37
|
expect(old_preview.reload.status).to eq 'abandoned'
|
|
38
|
-
expect(active_version.post.preview_version).to eq nil
|
|
39
38
|
end
|
|
40
39
|
|
|
41
40
|
it "responds with errors if the interaction has one" do
|
|
@@ -3,6 +3,7 @@ require 'rails_helper'
|
|
|
3
3
|
describe Pulitzer::TagsController do
|
|
4
4
|
|
|
5
5
|
routes { Pulitzer::Engine.routes }
|
|
6
|
+
render_views
|
|
6
7
|
|
|
7
8
|
describe "#index" do
|
|
8
9
|
let!(:flat_tag) { create :tag, hierarchical: false }
|
|
@@ -107,7 +108,8 @@ describe Pulitzer::TagsController do
|
|
|
107
108
|
end
|
|
108
109
|
end
|
|
109
110
|
|
|
110
|
-
describe "#update" do
|
|
111
|
+
describe "#update", type: :request do
|
|
112
|
+
routes { Pulitzer::Engine.routes }
|
|
111
113
|
let(:tag) { create :tag }
|
|
112
114
|
let(:attributes) { attributes_for :tag }
|
|
113
115
|
|
|
@@ -118,12 +120,12 @@ describe Pulitzer::TagsController do
|
|
|
118
120
|
end
|
|
119
121
|
|
|
120
122
|
it "updates the record" do
|
|
121
|
-
expect(tag).to receive(:update_attributes)
|
|
122
|
-
patch
|
|
123
|
+
expect(tag).to receive(:update_attributes)
|
|
124
|
+
patch tag_path(id: tag.id, tag: attributes)
|
|
123
125
|
end
|
|
124
126
|
|
|
125
127
|
it "renders the right response" do
|
|
126
|
-
patch
|
|
128
|
+
patch tag_path(id: tag.id, tag: attributes)
|
|
127
129
|
expect(response).to render_template("_show")
|
|
128
130
|
end
|
|
129
131
|
end
|
|
@@ -133,11 +135,11 @@ describe Pulitzer::TagsController do
|
|
|
133
135
|
create :tag, name: "sadpanda"
|
|
134
136
|
attributes.merge! name: "sadpanda"
|
|
135
137
|
allow(Pulitzer::Tag).to receive(:find) { tag }
|
|
136
|
-
patch
|
|
138
|
+
patch tag_path( id: tag.id, tag: attributes)
|
|
137
139
|
end
|
|
138
140
|
|
|
139
141
|
it "doesn't update the record" do
|
|
140
|
-
expect(
|
|
142
|
+
expect(response.body).to match("Name has already been taken")
|
|
141
143
|
end
|
|
142
144
|
|
|
143
145
|
it "renders the right template" do
|
|
@@ -36,7 +36,8 @@ Rails.application.configure do
|
|
|
36
36
|
|
|
37
37
|
# Print deprecation notices to the stderr.
|
|
38
38
|
config.active_support.deprecation = :stderr
|
|
39
|
-
|
|
39
|
+
config.active_job.queue_adapter = :inline
|
|
40
|
+
|
|
40
41
|
# Raises error for missing translations
|
|
41
42
|
# config.action_view.raise_on_missing_translations = true
|
|
42
43
|
end
|
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
3
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
7
|
+
Migrating to CreatePulitzerPostTypes (20150618224344)
|
|
8
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
9
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
10
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
|
|
11
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
12
|
+
Migrating to CreatePulitzerContentElementTypes (20150618225402)
|
|
13
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
14
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
15
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
|
|
16
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
17
|
+
Migrating to CreatePulitzerPosts (20150619204615)
|
|
18
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
19
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
20
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
|
|
21
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
22
|
+
Migrating to CreatePulitzerContentElements (20150619204708)
|
|
23
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
24
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
25
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
|
|
26
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
27
|
+
Migrating to CreatePulitzerTags (20150619213436)
|
|
28
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
29
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
30
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
|
|
31
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
32
|
+
Migrating to CreatePulitzerPostTags (20150619213457)
|
|
33
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
34
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
35
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
|
|
36
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
37
|
+
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
|
|
38
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
39
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
40
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
|
|
41
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
|
42
|
+
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
|
|
43
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
44
|
+
[1m[36m (1.8ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
|
|
45
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_post_types" ADD "template" boolean
|
|
46
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
|
|
47
|
+
[1m[35m (0.8ms)[0m commit transaction
|
|
48
|
+
Migrating to AddPulitzerContentElementTypes (20150702150819)
|
|
49
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
50
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1
|
|
51
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", "2016-05-11 18:39:29.746442"], ["updated_at", "2016-05-11 18:39:29.746442"]]
|
|
52
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
|
|
53
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-05-11 18:39:29.749178"], ["updated_at", "2016-05-11 18:39:29.749178"]]
|
|
54
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
|
|
55
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-05-11 18:39:29.750811"], ["updated_at", "2016-05-11 18:39:29.750811"]]
|
|
56
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
|
|
57
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
58
|
+
Migrating to AddSlugToPulitzerPosts (20150724150230)
|
|
59
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
60
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
|
|
61
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
62
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
|
|
63
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
|
|
64
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
|
65
|
+
Migrating to CreateSearchLocations (20150901153531)
|
|
66
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
67
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
68
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]]
|
|
69
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
|
70
|
+
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
|
|
71
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
72
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
73
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "pulitzer_post_tags"
|
|
74
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
|
|
75
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
76
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
|
|
77
|
+
[1m[35m (0.3ms)[0m DROP TABLE "apulitzer_post_tags"
|
|
78
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
|
|
79
|
+
[1m[35m (1.0ms)[0m commit transaction
|
|
80
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
|
81
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
82
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
|
|
83
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)[0m
|
|
84
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
|
|
85
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
|
86
|
+
Migrating to CreatePulitzerVersions (20151029194354)
|
|
87
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
88
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
89
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
|
|
90
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
|
91
|
+
Migrating to ChangePostElementsToVersions (20151029220558)
|
|
92
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
93
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
94
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_content_elements"
|
|
95
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "pulitzer_content_elements"[0m
|
|
96
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
97
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_content_elements"[0m
|
|
98
|
+
[1m[35m (0.1ms)[0m DROP TABLE "apulitzer_content_elements"
|
|
99
|
+
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
100
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_post_tags"
|
|
101
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
|
|
102
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
103
|
+
[1m[36m (0.3ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
|
|
104
|
+
[1m[35m (0.4ms)[0m DROP TABLE "apulitzer_post_tags"
|
|
105
|
+
[1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000[0m
|
|
106
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
|
|
107
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
|
108
|
+
Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
|
|
109
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
110
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
|
|
111
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
|
|
112
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
|
|
113
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer
|
|
114
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size
|
|
115
|
+
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000[0m
|
|
116
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
|
|
117
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
118
|
+
Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
|
|
119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
120
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean) [0m
|
|
121
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "pulitzer_post_types"
|
|
122
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "pulitzer_post_types"[0m
|
|
123
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)
|
|
124
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_types"[0m
|
|
125
|
+
[1m[35m (0.1ms)[0m DROP TABLE "apulitzer_post_types"
|
|
126
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
|
|
127
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
|
|
128
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
129
|
+
Migrating to AddKindToPulitzerContentElements (20151118031237)
|
|
130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
131
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
|
|
132
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
|
|
133
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
134
|
+
Migrating to AddErrorsToVersion (20160122204201)
|
|
135
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
136
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
|
|
137
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
|
|
138
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
139
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
140
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
|
141
|
+
FROM sqlite_master
|
|
142
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
143
|
+
UNION ALL
|
|
144
|
+
SELECT sql
|
|
145
|
+
FROM sqlite_temp_master
|
|
146
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
147
|
+
[0m
|
|
148
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
149
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
150
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
151
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
Started GET "/pulitzer" for ::1 at 2016-05-20 13:59:46 -0600
|
|
155
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
156
|
+
Processing by Pulitzer::PostTypesController#index as HTML
|
|
157
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.5ms)
|
|
158
|
+
Completed 200 OK in 411ms (Views: 409.1ms | ActiveRecord: 0.0ms)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
Started GET "/assets/application-2057cc134437d2a378b92e4d575e8a4a.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
Started GET "/assets/pulitzer-c9bbd5abe46f01f06a16fea87c66b734.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
Started GET "/assets/select2-3dd5f7c039d1d49a7a5971e99aa4aa60.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
Started GET "/assets/thin_man-da7569df64068b77b371e6287ce0d1a2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
Started GET "/assets/pulitzer-33af45d7375ad91993093cee313a88cf.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
Started GET "/assets/select2-c10dbdbc4d97fc8adbad2bb987ca61c8.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
Started GET "/assets/application-020d978092bb3eeec19daa73739b9a9c.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC%2BY2%2ByLs1ZAna%2FPNDAdkah4uEYW3WDg%2FvcMSdnMR7jkLw%3D%3D" for ::1 at 2016-05-20 13:59:48 -0600
|
|
195
|
+
Processing by Pulitzer::PostTypesController#index as */*
|
|
196
|
+
Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC+Y2+yLs1ZAna/PNDAdkah4uEYW3WDg/vcMSdnMR7jkLw=="}
|
|
197
|
+
[1m[35mPulitzer::PostType Load (1.3ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 0]]
|
|
198
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/_index.html.erb (9.2ms)
|
|
199
|
+
Completed 200 OK in 62ms (Views: 38.2ms | ActiveRecord: 1.4ms)
|
|
200
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
201
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
|
|
202
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
|
|
203
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
|
|
204
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
|
|
205
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar)
|
|
206
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
207
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f')
|
|
208
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) [0m
|
|
209
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)
|
|
210
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
211
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
|
|
212
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) [0m
|
|
213
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
|
|
214
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
|
215
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
216
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
217
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160927160910')
|
|
218
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
219
|
+
Migrating to CreatePartials (20160511192041)
|
|
220
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
221
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) [0m
|
|
222
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
|
|
223
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
224
|
+
Migrating to AddParentIdToPulitzerTag (20160511201527)
|
|
225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
226
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
|
|
227
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL
|
|
228
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
229
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
|
|
230
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511201527"]]
|
|
231
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
232
|
+
Migrating to AddPartialToContentElement (20160512214545)
|
|
233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
234
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer
|
|
235
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
|
|
236
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
237
|
+
Migrating to CreateFreeFormSectionType (20160513153209)
|
|
238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
239
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
|
|
240
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
|
|
241
|
+
[1m[35m (0.7ms)[0m commit transaction
|
|
242
|
+
Migrating to CreateFreeFormSection (20160513153214)
|
|
243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
244
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
|
|
245
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153214"]]
|
|
246
|
+
[1m[35m (0.7ms)[0m commit transaction
|
|
247
|
+
Migrating to FixPostTypeKinds (20160516150237)
|
|
248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
249
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)
|
|
250
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
|
|
251
|
+
[1m[35m (0.7ms)[0m commit transaction
|
|
252
|
+
Migrating to CreateLayouts (20160517181706)
|
|
253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
254
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
|
|
255
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
|
|
256
|
+
[1m[35m (0.8ms)[0m commit transaction
|
|
257
|
+
Migrating to AddLayoutToPartial (20160517182500)
|
|
258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
259
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_partials" ADD "layout_id" integer
|
|
260
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
|
|
261
|
+
[1m[35m (3.6ms)[0m commit transaction
|
|
262
|
+
Migrating to AddLabelToPartial (20160519181030)
|
|
263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
264
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_partials" ADD "label" varchar
|
|
265
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
|
|
266
|
+
[1m[35m (0.7ms)[0m commit transaction
|
|
267
|
+
Migrating to RemoveTitleFromContentElements (20160609214139)
|
|
268
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
269
|
+
[1m[35m (0.9ms)[0m CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
|
|
270
|
+
[1m[36m (0.7ms)[0m [1mSELECT * FROM "pulitzer_content_elements"[0m
|
|
271
|
+
[1m[35m (0.9ms)[0m DROP TABLE "pulitzer_content_elements"
|
|
272
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) [0m
|
|
273
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "apulitzer_content_elements"
|
|
274
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "apulitzer_content_elements"[0m
|
|
275
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]
|
|
276
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
277
|
+
Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
|
|
278
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
279
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
|
|
280
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]
|
|
281
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
|
282
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
283
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
|
284
|
+
FROM sqlite_master
|
|
285
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
286
|
+
UNION ALL
|
|
287
|
+
SELECT sql
|
|
288
|
+
FROM sqlite_temp_master
|
|
289
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
290
|
+
[0m
|
|
291
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
|
292
|
+
FROM sqlite_master
|
|
293
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
294
|
+
UNION ALL
|
|
295
|
+
SELECT sql
|
|
296
|
+
FROM sqlite_temp_master
|
|
297
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
298
|
+
|
|
299
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
|
300
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
301
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
302
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
303
|
+
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/eric/projects/pulitzer/spec/dummy/config/environment.rb:5)
|
|
304
|
+
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|