pulitzer 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/pulitzer.scss +14 -0
- data/app/controllers/pulitzer/content_elements_controller.rb +28 -6
- data/app/controllers/pulitzer/posts_controller.rb +1 -1
- data/app/controllers/pulitzer/versions_controller.rb +1 -1
- data/app/interactions/pulitzer/create_post_content_elements.rb +20 -0
- data/app/interactions/pulitzer/create_post_type_content_elements.rb +5 -2
- data/app/interactions/pulitzer/create_singleton_post.rb +1 -1
- data/app/interactions/pulitzer/update_post_type_content_elements.rb +7 -2
- data/app/models/pulitzer/content_element.rb +12 -1
- data/app/models/pulitzer/post_type.rb +11 -2
- data/app/models/pulitzer/post_type_content_element_type.rb +1 -0
- data/app/models/pulitzer/version.rb +8 -0
- data/app/views/pulitzer/content_elements/_form.html.erb +0 -1
- data/app/views/pulitzer/content_elements/_new.html.erb +25 -0
- data/app/views/pulitzer/content_elements/_show.html.erb +10 -1
- data/app/views/pulitzer/content_elements/index.html.erb +20 -3
- data/app/views/pulitzer/post_types/_form.html.erb +2 -7
- data/app/views/pulitzer/post_types/_form_fields.html.erb +5 -0
- data/app/views/pulitzer/post_types/_new.html.erb +2 -7
- data/app/views/pulitzer/post_types/_show.html.erb +5 -3
- data/app/views/pulitzer/shared/_drag_handle.html.erb +5 -0
- data/config/routes.rb +5 -1
- data/db/migrate/20151113183344_add_post_type_content_element_attributes_to_content_elements.rb +21 -0
- data/db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb +11 -0
- data/db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb +5 -0
- data/lib/pulitzer/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20151113220908_add_post_type_content_element_attributes_to_content_elements.pulitzer.rb +22 -0
- data/test/dummy/db/migrate/20151116162913_change_template_to_pulitzer_post_types.pulitzer.rb +12 -0
- data/test/dummy/db/migrate/20151118032759_add_kind_to_pulitzer_content_elements.pulitzer.rb +6 -0
- data/test/dummy/db/schema.rb +11 -6
- data/test/dummy/log/development.log +59506 -0
- data/test/dummy/public/uploads/pulitzer/content_element/image/19/pic05.jpeg +0 -0
- data/test/dummy/public/uploads/pulitzer/content_element/image/19/thumb_pic05.jpeg +0 -0
- data/test/dummy/public/uploads/pulitzer/content_element/image/3/pic05.jpeg +0 -0
- data/test/dummy/public/uploads/pulitzer/content_element/image/3/thumb_pic05.jpeg +0 -0
- data/test/dummy/public/uploads/pulitzer/content_element/image/9/pic09.jpeg +0 -0
- data/test/dummy/public/uploads/pulitzer/content_element/image/9/thumb_pic09.jpeg +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/be077259a59c14e0a5302a785899c0b92a0ab91a/pulitzer.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/06862801abb8c401568d01a7b3970906 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/16350d0e2f0ffb7c3b31e13f258e3156 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/184aa42aaf70a897286717ad9402c2b6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/35abf4d57a1db03bc7222f13bb471ed6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3b7b7eee503242b1d315d26c7b5cddee +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d7cea3aafdb779f3c95b4622ee7fe69 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/441051494a96f6dc5a93d5f1de2509a8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6874b7cce999f4e5a651c0057aa61887 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/716a56329ace76625a8413db5ce5b9bd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7b287d7c33e17041f8f5577f59cc9259 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/832a1e5e324a689cbe7b649c5b62a2a4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8ad2677bfa97184ea04003bbc872d39f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/94c7ec6491f0f98ab102d34dda6b2923 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ac2cc187578b49d22d5abf2234f78969 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ae53ef709d6f5d0222ec079134304c87 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c96181a2cb6ed1e5bed0c307492314dd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c9fb0a1fca85341be25487d4f49c2919 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cf69498eaa29a42d5020469d6ca1ae64 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d992a7e563789c6fc0b51e4aaa59ce58 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e820891ae5f960b3ff5216476234fbe2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fe22c42cc33c405b1fdc1105e0972a77 +0 -0
- metadata +63 -3
- data/app/interactions/pulitzer/setup_post_elements.rb +0 -17
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulitzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -290,11 +290,11 @@ files:
|
|
290
290
|
- app/helpers/pulitzer/application_helper.rb
|
291
291
|
- app/helpers/pulitzer/posts_helper.rb
|
292
292
|
- app/interactions/pulitzer/clone_version.rb
|
293
|
+
- app/interactions/pulitzer/create_post_content_elements.rb
|
293
294
|
- app/interactions/pulitzer/create_post_tag.rb
|
294
295
|
- app/interactions/pulitzer/create_post_type_content_elements.rb
|
295
296
|
- app/interactions/pulitzer/create_singleton_post.rb
|
296
297
|
- app/interactions/pulitzer/destroy_post_type_content_elements.rb
|
297
|
-
- app/interactions/pulitzer/setup_post_elements.rb
|
298
298
|
- app/interactions/pulitzer/update_post_type_content_elements.rb
|
299
299
|
- app/models/pulitzer/content_element.rb
|
300
300
|
- app/models/pulitzer/content_element_type.rb
|
@@ -308,6 +308,7 @@ files:
|
|
308
308
|
- app/uploaders/pulitzer/image_uploader.rb
|
309
309
|
- app/views/pulitzer/content_elements/_form.html.erb
|
310
310
|
- app/views/pulitzer/content_elements/_image_fields.html.erb
|
311
|
+
- app/views/pulitzer/content_elements/_new.html.erb
|
311
312
|
- app/views/pulitzer/content_elements/_show.html.erb
|
312
313
|
- app/views/pulitzer/content_elements/_show_wrapper.html.erb
|
313
314
|
- app/views/pulitzer/content_elements/_text_fields.html.erb
|
@@ -322,6 +323,7 @@ files:
|
|
322
323
|
- app/views/pulitzer/post_type_content_element_types/_show.html.erb
|
323
324
|
- app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb
|
324
325
|
- app/views/pulitzer/post_types/_form.html.erb
|
326
|
+
- app/views/pulitzer/post_types/_form_fields.html.erb
|
325
327
|
- app/views/pulitzer/post_types/_new.html.erb
|
326
328
|
- app/views/pulitzer/post_types/_show.html.erb
|
327
329
|
- app/views/pulitzer/post_types/_show_wrapper.html.erb
|
@@ -332,6 +334,7 @@ files:
|
|
332
334
|
- app/views/pulitzer/posts/_show_wrapper.html.erb
|
333
335
|
- app/views/pulitzer/posts/index.html.erb
|
334
336
|
- app/views/pulitzer/posts/show.html.erb
|
337
|
+
- app/views/pulitzer/shared/_drag_handle.html.erb
|
335
338
|
- app/views/pulitzer/shared/_error_messages.erb
|
336
339
|
- app/views/pulitzer/text_editors/_none.html.erb
|
337
340
|
- app/views/pulitzer/versions/_form.html.erb
|
@@ -350,6 +353,9 @@ files:
|
|
350
353
|
- db/migrate/20151026180630_add_text_editor_to_pulitzer_post_type_content_element_types.rb
|
351
354
|
- db/migrate/20151029194354_create_pulitzer_versions.rb
|
352
355
|
- db/migrate/20151029220558_change_post_elements_to_versions.rb
|
356
|
+
- db/migrate/20151113183344_add_post_type_content_element_attributes_to_content_elements.rb
|
357
|
+
- db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb
|
358
|
+
- db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb
|
353
359
|
- lib/pulitzer.rb
|
354
360
|
- lib/pulitzer/engine.rb
|
355
361
|
- lib/pulitzer/version.rb
|
@@ -410,6 +416,9 @@ files:
|
|
410
416
|
- test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
|
411
417
|
- test/dummy/db/migrate/20151029221443_create_pulitzer_versions.pulitzer.rb
|
412
418
|
- test/dummy/db/migrate/20151029221444_change_post_elements_to_versions.pulitzer.rb
|
419
|
+
- test/dummy/db/migrate/20151113220908_add_post_type_content_element_attributes_to_content_elements.pulitzer.rb
|
420
|
+
- test/dummy/db/migrate/20151116162913_change_template_to_pulitzer_post_types.pulitzer.rb
|
421
|
+
- test/dummy/db/migrate/20151118032759_add_kind_to_pulitzer_content_elements.pulitzer.rb
|
413
422
|
- test/dummy/db/schema.rb
|
414
423
|
- test/dummy/db/test.sqlite3
|
415
424
|
- test/dummy/log/development.log
|
@@ -417,6 +426,8 @@ files:
|
|
417
426
|
- test/dummy/public/422.html
|
418
427
|
- test/dummy/public/500.html
|
419
428
|
- test/dummy/public/favicon.ico
|
429
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/19/pic05.jpeg
|
430
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/19/thumb_pic05.jpeg
|
420
431
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/demo04.jpeg
|
421
432
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/demo05.jpeg
|
422
433
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/pic04.jpeg
|
@@ -425,6 +436,10 @@ files:
|
|
425
436
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/thumb_demo05.jpeg
|
426
437
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/thumb_pic04.jpeg
|
427
438
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/thumb_pic07.jpeg
|
439
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/3/pic05.jpeg
|
440
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/3/thumb_pic05.jpeg
|
441
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/9/pic09.jpeg
|
442
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/9/thumb_pic09.jpeg
|
428
443
|
- test/dummy/public/uploads/tmp/1445289522-37070-6861/demo04.jpeg
|
429
444
|
- test/dummy/public/uploads/tmp/1445289522-37070-6861/thumb_demo04.jpeg
|
430
445
|
- test/dummy/public/uploads/tmp/1445289535-37070-3371/demo02.jpeg
|
@@ -467,22 +482,31 @@ files:
|
|
467
482
|
- test/dummy/tmp/cache/assets/development/sprockets/00e7f201f9ab0bc0fe4d8f2d2f75f7ea
|
468
483
|
- test/dummy/tmp/cache/assets/development/sprockets/0326eb1e9ccbc9aeee372cab888a46a5
|
469
484
|
- test/dummy/tmp/cache/assets/development/sprockets/04b2de3cb6e054308fdf73c1088cc91e
|
485
|
+
- test/dummy/tmp/cache/assets/development/sprockets/06862801abb8c401568d01a7b3970906
|
470
486
|
- test/dummy/tmp/cache/assets/development/sprockets/0a3011a6efa34ebf791cc4f0f2ed7ccd
|
471
487
|
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
488
|
+
- test/dummy/tmp/cache/assets/development/sprockets/16350d0e2f0ffb7c3b31e13f258e3156
|
489
|
+
- test/dummy/tmp/cache/assets/development/sprockets/184aa42aaf70a897286717ad9402c2b6
|
472
490
|
- test/dummy/tmp/cache/assets/development/sprockets/1de67daefaf975a6b2171d45d3374e94
|
473
491
|
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
474
492
|
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
493
|
+
- test/dummy/tmp/cache/assets/development/sprockets/35abf4d57a1db03bc7222f13bb471ed6
|
475
494
|
- test/dummy/tmp/cache/assets/development/sprockets/382defb2fcf8b20f871044ff80437d73
|
495
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3b7b7eee503242b1d315d26c7b5cddee
|
496
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3d7cea3aafdb779f3c95b4622ee7fe69
|
476
497
|
- test/dummy/tmp/cache/assets/development/sprockets/3e318caa55ce45753f1712994148048d
|
477
498
|
- test/dummy/tmp/cache/assets/development/sprockets/40013c34eeb3e9e5cabc0f90d3075180
|
499
|
+
- test/dummy/tmp/cache/assets/development/sprockets/441051494a96f6dc5a93d5f1de2509a8
|
478
500
|
- test/dummy/tmp/cache/assets/development/sprockets/50cc36bc6f0628462ec2bfa9cc698d65
|
479
501
|
- test/dummy/tmp/cache/assets/development/sprockets/56fa7ccdb80a56b9725146fa56583289
|
480
502
|
- test/dummy/tmp/cache/assets/development/sprockets/5e30a6b911437f1428dc32c3ae182123
|
481
503
|
- test/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f
|
482
504
|
- test/dummy/tmp/cache/assets/development/sprockets/64fbc647d56d1e09e60aee44b5cb63ea
|
483
505
|
- test/dummy/tmp/cache/assets/development/sprockets/679a47d7a6c656d92d7a6d8b52b2088c
|
506
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6874b7cce999f4e5a651c0057aa61887
|
484
507
|
- test/dummy/tmp/cache/assets/development/sprockets/700b3bc0188bbe9749b9c4c460358c71
|
485
508
|
- test/dummy/tmp/cache/assets/development/sprockets/704c268418dfa8b45b61bfa605613491
|
509
|
+
- test/dummy/tmp/cache/assets/development/sprockets/716a56329ace76625a8413db5ce5b9bd
|
486
510
|
- test/dummy/tmp/cache/assets/development/sprockets/718a9a6aacc1a6018ca3028683928db6
|
487
511
|
- test/dummy/tmp/cache/assets/development/sprockets/76b53b3f97ea4d1714968da8230230a8
|
488
512
|
- test/dummy/tmp/cache/assets/development/sprockets/796852b60f3ddaf14bdffd69bdbef183
|
@@ -490,26 +514,35 @@ files:
|
|
490
514
|
- test/dummy/tmp/cache/assets/development/sprockets/7e421fe55500d14fa74f3bbc39bbda91
|
491
515
|
- test/dummy/tmp/cache/assets/development/sprockets/7fe72ac1c0db1a7e8e7f59cf25e8a39e
|
492
516
|
- test/dummy/tmp/cache/assets/development/sprockets/82b37ae9eccec44c1ef44cfdd07d8534
|
517
|
+
- test/dummy/tmp/cache/assets/development/sprockets/832a1e5e324a689cbe7b649c5b62a2a4
|
493
518
|
- test/dummy/tmp/cache/assets/development/sprockets/85afbe895b1cf28ee52393c4dffde841
|
494
519
|
- test/dummy/tmp/cache/assets/development/sprockets/8ad2677bfa97184ea04003bbc872d39f
|
495
520
|
- test/dummy/tmp/cache/assets/development/sprockets/92c1deae731b3b6ae8d6db0a5634ea0c
|
496
521
|
- test/dummy/tmp/cache/assets/development/sprockets/932a182c785f0adcd053fb3e451cecc3
|
522
|
+
- test/dummy/tmp/cache/assets/development/sprockets/94c7ec6491f0f98ab102d34dda6b2923
|
497
523
|
- test/dummy/tmp/cache/assets/development/sprockets/9620f5718a31bec3691ccb5351f96255
|
498
524
|
- test/dummy/tmp/cache/assets/development/sprockets/98c732936a71b1e54ff74ac7643c87e2
|
499
525
|
- test/dummy/tmp/cache/assets/development/sprockets/ac2cc187578b49d22d5abf2234f78969
|
526
|
+
- test/dummy/tmp/cache/assets/development/sprockets/ae53ef709d6f5d0222ec079134304c87
|
500
527
|
- test/dummy/tmp/cache/assets/development/sprockets/b3ce8d8c1fc9468649d15e6bf07a0385
|
501
528
|
- test/dummy/tmp/cache/assets/development/sprockets/c8b24386e87b2126c772fa608eadd741
|
529
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c96181a2cb6ed1e5bed0c307492314dd
|
530
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c9fb0a1fca85341be25487d4f49c2919
|
502
531
|
- test/dummy/tmp/cache/assets/development/sprockets/ce6cb08be5c4f623c6622b02769a4b1f
|
532
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cf69498eaa29a42d5020469d6ca1ae64
|
503
533
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
504
534
|
- test/dummy/tmp/cache/assets/development/sprockets/d002393bedbdea5f4f96dad935522f40
|
505
535
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
536
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d992a7e563789c6fc0b51e4aaa59ce58
|
506
537
|
- test/dummy/tmp/cache/assets/development/sprockets/dae327287b68def8af3651b2aff8dab3
|
507
538
|
- test/dummy/tmp/cache/assets/development/sprockets/e40be4ab74cbcad1d3dcd938509cff48
|
539
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e820891ae5f960b3ff5216476234fbe2
|
508
540
|
- test/dummy/tmp/cache/assets/development/sprockets/ebd153272ed4de04894df2a67d4a2da8
|
509
541
|
- test/dummy/tmp/cache/assets/development/sprockets/edc4b5365c10eb8e16c489c4bb35be85
|
510
542
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
511
543
|
- test/dummy/tmp/cache/assets/development/sprockets/f7de0462cdff7cff59c707535d6ae311
|
512
544
|
- test/dummy/tmp/cache/assets/development/sprockets/f879ec0b3cc3e06f45d6a66a3c60d0ab
|
545
|
+
- test/dummy/tmp/cache/assets/development/sprockets/fe22c42cc33c405b1fdc1105e0972a77
|
513
546
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/-1fo9N8XbLLlUbvzc7R8yLTsiL0WU-OtnOS7Ofc9hr4.cache
|
514
547
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/0Gzu1YRs97A5BBP1DYVr47Sj06Dst2V7ggYgq1iq6Vc.cache
|
515
548
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/0ibf-UkPl4xGKiTifB2XrHp3gNZC_VFI5UCuMiRQVpE.cache
|
@@ -731,6 +764,9 @@ test_files:
|
|
731
764
|
- test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
|
732
765
|
- test/dummy/db/migrate/20151029221443_create_pulitzer_versions.pulitzer.rb
|
733
766
|
- test/dummy/db/migrate/20151029221444_change_post_elements_to_versions.pulitzer.rb
|
767
|
+
- test/dummy/db/migrate/20151113220908_add_post_type_content_element_attributes_to_content_elements.pulitzer.rb
|
768
|
+
- test/dummy/db/migrate/20151116162913_change_template_to_pulitzer_post_types.pulitzer.rb
|
769
|
+
- test/dummy/db/migrate/20151118032759_add_kind_to_pulitzer_content_elements.pulitzer.rb
|
734
770
|
- test/dummy/db/schema.rb
|
735
771
|
- test/dummy/db/test.sqlite3
|
736
772
|
- test/dummy/log/development.log
|
@@ -738,6 +774,8 @@ test_files:
|
|
738
774
|
- test/dummy/public/422.html
|
739
775
|
- test/dummy/public/500.html
|
740
776
|
- test/dummy/public/favicon.ico
|
777
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/19/pic05.jpeg
|
778
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/19/thumb_pic05.jpeg
|
741
779
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/demo04.jpeg
|
742
780
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/demo05.jpeg
|
743
781
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/pic04.jpeg
|
@@ -746,6 +784,10 @@ test_files:
|
|
746
784
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/thumb_demo05.jpeg
|
747
785
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/thumb_pic04.jpeg
|
748
786
|
- test/dummy/public/uploads/pulitzer/content_element/image/2/thumb_pic07.jpeg
|
787
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/3/pic05.jpeg
|
788
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/3/thumb_pic05.jpeg
|
789
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/9/pic09.jpeg
|
790
|
+
- test/dummy/public/uploads/pulitzer/content_element/image/9/thumb_pic09.jpeg
|
749
791
|
- test/dummy/public/uploads/tmp/1445289522-37070-6861/demo04.jpeg
|
750
792
|
- test/dummy/public/uploads/tmp/1445289522-37070-6861/thumb_demo04.jpeg
|
751
793
|
- test/dummy/public/uploads/tmp/1445289535-37070-3371/demo02.jpeg
|
@@ -790,22 +832,31 @@ test_files:
|
|
790
832
|
- test/dummy/tmp/cache/assets/development/sprockets/00e7f201f9ab0bc0fe4d8f2d2f75f7ea
|
791
833
|
- test/dummy/tmp/cache/assets/development/sprockets/0326eb1e9ccbc9aeee372cab888a46a5
|
792
834
|
- test/dummy/tmp/cache/assets/development/sprockets/04b2de3cb6e054308fdf73c1088cc91e
|
835
|
+
- test/dummy/tmp/cache/assets/development/sprockets/06862801abb8c401568d01a7b3970906
|
793
836
|
- test/dummy/tmp/cache/assets/development/sprockets/0a3011a6efa34ebf791cc4f0f2ed7ccd
|
794
837
|
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
838
|
+
- test/dummy/tmp/cache/assets/development/sprockets/16350d0e2f0ffb7c3b31e13f258e3156
|
839
|
+
- test/dummy/tmp/cache/assets/development/sprockets/184aa42aaf70a897286717ad9402c2b6
|
795
840
|
- test/dummy/tmp/cache/assets/development/sprockets/1de67daefaf975a6b2171d45d3374e94
|
796
841
|
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
797
842
|
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
843
|
+
- test/dummy/tmp/cache/assets/development/sprockets/35abf4d57a1db03bc7222f13bb471ed6
|
798
844
|
- test/dummy/tmp/cache/assets/development/sprockets/382defb2fcf8b20f871044ff80437d73
|
845
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3b7b7eee503242b1d315d26c7b5cddee
|
846
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3d7cea3aafdb779f3c95b4622ee7fe69
|
799
847
|
- test/dummy/tmp/cache/assets/development/sprockets/3e318caa55ce45753f1712994148048d
|
800
848
|
- test/dummy/tmp/cache/assets/development/sprockets/40013c34eeb3e9e5cabc0f90d3075180
|
849
|
+
- test/dummy/tmp/cache/assets/development/sprockets/441051494a96f6dc5a93d5f1de2509a8
|
801
850
|
- test/dummy/tmp/cache/assets/development/sprockets/50cc36bc6f0628462ec2bfa9cc698d65
|
802
851
|
- test/dummy/tmp/cache/assets/development/sprockets/56fa7ccdb80a56b9725146fa56583289
|
803
852
|
- test/dummy/tmp/cache/assets/development/sprockets/5e30a6b911437f1428dc32c3ae182123
|
804
853
|
- test/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f
|
805
854
|
- test/dummy/tmp/cache/assets/development/sprockets/64fbc647d56d1e09e60aee44b5cb63ea
|
806
855
|
- test/dummy/tmp/cache/assets/development/sprockets/679a47d7a6c656d92d7a6d8b52b2088c
|
856
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6874b7cce999f4e5a651c0057aa61887
|
807
857
|
- test/dummy/tmp/cache/assets/development/sprockets/700b3bc0188bbe9749b9c4c460358c71
|
808
858
|
- test/dummy/tmp/cache/assets/development/sprockets/704c268418dfa8b45b61bfa605613491
|
859
|
+
- test/dummy/tmp/cache/assets/development/sprockets/716a56329ace76625a8413db5ce5b9bd
|
809
860
|
- test/dummy/tmp/cache/assets/development/sprockets/718a9a6aacc1a6018ca3028683928db6
|
810
861
|
- test/dummy/tmp/cache/assets/development/sprockets/76b53b3f97ea4d1714968da8230230a8
|
811
862
|
- test/dummy/tmp/cache/assets/development/sprockets/796852b60f3ddaf14bdffd69bdbef183
|
@@ -813,26 +864,35 @@ test_files:
|
|
813
864
|
- test/dummy/tmp/cache/assets/development/sprockets/7e421fe55500d14fa74f3bbc39bbda91
|
814
865
|
- test/dummy/tmp/cache/assets/development/sprockets/7fe72ac1c0db1a7e8e7f59cf25e8a39e
|
815
866
|
- test/dummy/tmp/cache/assets/development/sprockets/82b37ae9eccec44c1ef44cfdd07d8534
|
867
|
+
- test/dummy/tmp/cache/assets/development/sprockets/832a1e5e324a689cbe7b649c5b62a2a4
|
816
868
|
- test/dummy/tmp/cache/assets/development/sprockets/85afbe895b1cf28ee52393c4dffde841
|
817
869
|
- test/dummy/tmp/cache/assets/development/sprockets/8ad2677bfa97184ea04003bbc872d39f
|
818
870
|
- test/dummy/tmp/cache/assets/development/sprockets/92c1deae731b3b6ae8d6db0a5634ea0c
|
819
871
|
- test/dummy/tmp/cache/assets/development/sprockets/932a182c785f0adcd053fb3e451cecc3
|
872
|
+
- test/dummy/tmp/cache/assets/development/sprockets/94c7ec6491f0f98ab102d34dda6b2923
|
820
873
|
- test/dummy/tmp/cache/assets/development/sprockets/9620f5718a31bec3691ccb5351f96255
|
821
874
|
- test/dummy/tmp/cache/assets/development/sprockets/98c732936a71b1e54ff74ac7643c87e2
|
822
875
|
- test/dummy/tmp/cache/assets/development/sprockets/ac2cc187578b49d22d5abf2234f78969
|
876
|
+
- test/dummy/tmp/cache/assets/development/sprockets/ae53ef709d6f5d0222ec079134304c87
|
823
877
|
- test/dummy/tmp/cache/assets/development/sprockets/b3ce8d8c1fc9468649d15e6bf07a0385
|
824
878
|
- test/dummy/tmp/cache/assets/development/sprockets/c8b24386e87b2126c772fa608eadd741
|
879
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c96181a2cb6ed1e5bed0c307492314dd
|
880
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c9fb0a1fca85341be25487d4f49c2919
|
825
881
|
- test/dummy/tmp/cache/assets/development/sprockets/ce6cb08be5c4f623c6622b02769a4b1f
|
882
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cf69498eaa29a42d5020469d6ca1ae64
|
826
883
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
827
884
|
- test/dummy/tmp/cache/assets/development/sprockets/d002393bedbdea5f4f96dad935522f40
|
828
885
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
886
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d992a7e563789c6fc0b51e4aaa59ce58
|
829
887
|
- test/dummy/tmp/cache/assets/development/sprockets/dae327287b68def8af3651b2aff8dab3
|
830
888
|
- test/dummy/tmp/cache/assets/development/sprockets/e40be4ab74cbcad1d3dcd938509cff48
|
889
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e820891ae5f960b3ff5216476234fbe2
|
831
890
|
- test/dummy/tmp/cache/assets/development/sprockets/ebd153272ed4de04894df2a67d4a2da8
|
832
891
|
- test/dummy/tmp/cache/assets/development/sprockets/edc4b5365c10eb8e16c489c4bb35be85
|
833
892
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
834
893
|
- test/dummy/tmp/cache/assets/development/sprockets/f7de0462cdff7cff59c707535d6ae311
|
835
894
|
- test/dummy/tmp/cache/assets/development/sprockets/f879ec0b3cc3e06f45d6a66a3c60d0ab
|
895
|
+
- test/dummy/tmp/cache/assets/development/sprockets/fe22c42cc33c405b1fdc1105e0972a77
|
836
896
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/-1fo9N8XbLLlUbvzc7R8yLTsiL0WU-OtnOS7Ofc9hr4.cache
|
837
897
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/0Gzu1YRs97A5BBP1DYVr47Sj06Dst2V7ggYgq1iq6Vc.cache
|
838
898
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/0ibf-UkPl4xGKiTifB2XrHp3gNZC_VFI5UCuMiRQVpE.cache
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class Pulitzer::SetupPostElements
|
2
|
-
attr_accessor :post
|
3
|
-
|
4
|
-
def initialize(post)
|
5
|
-
self.post = post
|
6
|
-
end
|
7
|
-
|
8
|
-
def call
|
9
|
-
post.post_type_content_element_types.each do |cet|
|
10
|
-
post.preview_version.content_elements.create do |ce|
|
11
|
-
ce.label = cet.label
|
12
|
-
ce.content_element_type = cet.content_element_type
|
13
|
-
ce.post_type_content_element_type = cet
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|