pulitzer 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/pulitzer/versions_controller.rb +8 -2
- data/app/interactions/pulitzer/update_version_status.rb +23 -16
- data/lib/pulitzer/version.rb +1 -1
- data/spec/controllers/pulitzer/versions_controller_spec.rb +39 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150618224344_create_pulitzer_post_types.rb +9 -0
- data/spec/dummy/db/migrate/20150618225402_create_pulitzer_content_element_types.rb +9 -0
- data/spec/dummy/db/migrate/20150619204615_create_pulitzer_posts.rb +11 -0
- data/spec/dummy/db/migrate/20150619204708_create_pulitzer_content_elements.rb +15 -0
- data/spec/dummy/db/migrate/20150619213436_create_pulitzer_tags.rb +9 -0
- data/spec/dummy/db/migrate/20150619213457_create_pulitzer_post_tags.rb +11 -0
- data/spec/dummy/db/migrate/20150619215914_create_pulitzer_post_type_content_element_types.rb +13 -0
- data/spec/dummy/db/migrate/20150629195832_add_plural_and_template_to_pulitzer_post_types.rb +6 -0
- data/spec/dummy/db/migrate/20150702150819_add_pulitzer_content_element_types.rb +13 -0
- data/spec/dummy/db/migrate/20150724150230_add_slug_to_pulitzer_posts.rb +6 -0
- data/spec/dummy/db/migrate/20150902212741_change_label_type_from_pulitzer_post_tags.rb +5 -0
- data/spec/dummy/db/migrate/20151026180630_add_text_editor_to_pulitzer_post_type_content_element_types.rb +10 -0
- data/spec/dummy/db/migrate/20151029194354_create_pulitzer_versions.rb +10 -0
- data/spec/dummy/db/migrate/20151029220558_change_post_elements_to_versions.rb +20 -0
- data/spec/dummy/db/migrate/20151113183344_add_post_type_content_element_attributes_to_content_elements.rb +21 -0
- data/spec/dummy/db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb +11 -0
- data/spec/dummy/db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb +5 -0
- data/spec/dummy/db/migrate/20160122204201_add_errors_to_version.rb +5 -0
- data/spec/dummy/db/migrate/20160511192041_create_partials.rb +9 -0
- data/spec/dummy/db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb +7 -0
- data/spec/dummy/db/migrate/20160512214545_add_partial_to_content_element.rb +5 -0
- data/spec/dummy/db/migrate/20160513153209_create_free_form_section_type.rb +8 -0
- data/spec/dummy/db/migrate/20160513153214_create_free_form_section.rb +9 -0
- data/spec/dummy/db/migrate/20160516150237_fix_post_type_kinds.rb +7 -0
- data/spec/dummy/db/migrate/20160517181706_create_layouts.rb +8 -0
- data/spec/dummy/db/migrate/20160517182500_add_layout_to_partial.rb +5 -0
- data/spec/dummy/db/migrate/20160519181030_add_label_to_partial.rb +5 -0
- data/spec/dummy/db/migrate/20160609214139_remove_title_from_content_elements.rb +5 -0
- data/spec/dummy/db/migrate/20160927160910_add_required_to_pulitzer_post_type_content_element_type.rb +5 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +103 -0
- data/spec/dummy/log/test.log +7132 -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/spec_helper.rb +2 -0
- metadata +94 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/spec_helper.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.5
|
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-12-
|
12
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -381,6 +381,26 @@ dependencies:
|
|
381
381
|
- - "<"
|
382
382
|
- !ruby/object:Gem::Version
|
383
383
|
version: '4.0'
|
384
|
+
- !ruby/object:Gem::Dependency
|
385
|
+
name: fuubar
|
386
|
+
requirement: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - ">="
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: '2'
|
391
|
+
- - "<"
|
392
|
+
- !ruby/object:Gem::Version
|
393
|
+
version: '3'
|
394
|
+
type: :development
|
395
|
+
prerelease: false
|
396
|
+
version_requirements: !ruby/object:Gem::Requirement
|
397
|
+
requirements:
|
398
|
+
- - ">="
|
399
|
+
- !ruby/object:Gem::Version
|
400
|
+
version: '2'
|
401
|
+
- - "<"
|
402
|
+
- !ruby/object:Gem::Version
|
403
|
+
version: '3'
|
384
404
|
- !ruby/object:Gem::Dependency
|
385
405
|
name: factory_girl_rails
|
386
406
|
requirement: !ruby/object:Gem::Requirement
|
@@ -603,6 +623,7 @@ files:
|
|
603
623
|
- lib/tasks/pulitzer_tasks.rake
|
604
624
|
- spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
|
605
625
|
- spec/controllers/pulitzer/partials_controller_spec.rb
|
626
|
+
- spec/controllers/pulitzer/versions_controller_spec.rb
|
606
627
|
- spec/controllers/tags_controller_spec.rb
|
607
628
|
- spec/dummy/README.rdoc
|
608
629
|
- spec/dummy/Rakefile
|
@@ -645,6 +666,35 @@ files:
|
|
645
666
|
- spec/dummy/config/routes.rb
|
646
667
|
- spec/dummy/config/secrets.yml
|
647
668
|
- spec/dummy/db/development.sqlite3
|
669
|
+
- spec/dummy/db/migrate/20150618224344_create_pulitzer_post_types.rb
|
670
|
+
- spec/dummy/db/migrate/20150618225402_create_pulitzer_content_element_types.rb
|
671
|
+
- spec/dummy/db/migrate/20150619204615_create_pulitzer_posts.rb
|
672
|
+
- spec/dummy/db/migrate/20150619204708_create_pulitzer_content_elements.rb
|
673
|
+
- spec/dummy/db/migrate/20150619213436_create_pulitzer_tags.rb
|
674
|
+
- spec/dummy/db/migrate/20150619213457_create_pulitzer_post_tags.rb
|
675
|
+
- spec/dummy/db/migrate/20150619215914_create_pulitzer_post_type_content_element_types.rb
|
676
|
+
- spec/dummy/db/migrate/20150629195832_add_plural_and_template_to_pulitzer_post_types.rb
|
677
|
+
- spec/dummy/db/migrate/20150702150819_add_pulitzer_content_element_types.rb
|
678
|
+
- spec/dummy/db/migrate/20150724150230_add_slug_to_pulitzer_posts.rb
|
679
|
+
- spec/dummy/db/migrate/20150902212741_change_label_type_from_pulitzer_post_tags.rb
|
680
|
+
- spec/dummy/db/migrate/20151026180630_add_text_editor_to_pulitzer_post_type_content_element_types.rb
|
681
|
+
- spec/dummy/db/migrate/20151029194354_create_pulitzer_versions.rb
|
682
|
+
- spec/dummy/db/migrate/20151029220558_change_post_elements_to_versions.rb
|
683
|
+
- spec/dummy/db/migrate/20151113183344_add_post_type_content_element_attributes_to_content_elements.rb
|
684
|
+
- spec/dummy/db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb
|
685
|
+
- spec/dummy/db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb
|
686
|
+
- spec/dummy/db/migrate/20160122204201_add_errors_to_version.rb
|
687
|
+
- spec/dummy/db/migrate/20160511192041_create_partials.rb
|
688
|
+
- spec/dummy/db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
|
689
|
+
- spec/dummy/db/migrate/20160512214545_add_partial_to_content_element.rb
|
690
|
+
- spec/dummy/db/migrate/20160513153209_create_free_form_section_type.rb
|
691
|
+
- spec/dummy/db/migrate/20160513153214_create_free_form_section.rb
|
692
|
+
- spec/dummy/db/migrate/20160516150237_fix_post_type_kinds.rb
|
693
|
+
- spec/dummy/db/migrate/20160517181706_create_layouts.rb
|
694
|
+
- spec/dummy/db/migrate/20160517182500_add_layout_to_partial.rb
|
695
|
+
- spec/dummy/db/migrate/20160519181030_add_label_to_partial.rb
|
696
|
+
- spec/dummy/db/migrate/20160609214139_remove_title_from_content_elements.rb
|
697
|
+
- spec/dummy/db/migrate/20160927160910_add_required_to_pulitzer_post_type_content_element_type.rb
|
648
698
|
- spec/dummy/db/schema.rb
|
649
699
|
- spec/dummy/db/test.sqlite3
|
650
700
|
- spec/dummy/log/development.log
|
@@ -855,6 +905,12 @@ files:
|
|
855
905
|
- spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/cms_sam_and_snow.jpg
|
856
906
|
- spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/sam_and_snow.jpg
|
857
907
|
- spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/thumb_sam_and_snow.jpg
|
908
|
+
- spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/cms_sam_and_snow.jpg
|
909
|
+
- spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/sam_and_snow.jpg
|
910
|
+
- spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/thumb_sam_and_snow.jpg
|
911
|
+
- spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/cms_sam_and_snow.jpg
|
912
|
+
- spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/sam_and_snow.jpg
|
913
|
+
- spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/thumb_sam_and_snow.jpg
|
858
914
|
- spec/dummy/tmp/cache/assets/development/sass/6a6b1d4ef8b2d2e171d4a10a545a635415f70c2d/pulitzer.scssc
|
859
915
|
- spec/dummy/tmp/cache/assets/development/sprockets/066f4cc762c213535019ca66a2f5abb2
|
860
916
|
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
@@ -939,6 +995,7 @@ summary: A content management engine for Ruby on Rails.
|
|
939
995
|
test_files:
|
940
996
|
- spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
|
941
997
|
- spec/controllers/pulitzer/partials_controller_spec.rb
|
998
|
+
- spec/controllers/pulitzer/versions_controller_spec.rb
|
942
999
|
- spec/controllers/tags_controller_spec.rb
|
943
1000
|
- spec/dummy/app/assets/javascripts/application.js
|
944
1001
|
- spec/dummy/app/assets/javascripts/jquery.js
|
@@ -979,6 +1036,35 @@ test_files:
|
|
979
1036
|
- spec/dummy/config/secrets.yml
|
980
1037
|
- spec/dummy/config.ru
|
981
1038
|
- spec/dummy/db/development.sqlite3
|
1039
|
+
- spec/dummy/db/migrate/20150618224344_create_pulitzer_post_types.rb
|
1040
|
+
- spec/dummy/db/migrate/20150618225402_create_pulitzer_content_element_types.rb
|
1041
|
+
- spec/dummy/db/migrate/20150619204615_create_pulitzer_posts.rb
|
1042
|
+
- spec/dummy/db/migrate/20150619204708_create_pulitzer_content_elements.rb
|
1043
|
+
- spec/dummy/db/migrate/20150619213436_create_pulitzer_tags.rb
|
1044
|
+
- spec/dummy/db/migrate/20150619213457_create_pulitzer_post_tags.rb
|
1045
|
+
- spec/dummy/db/migrate/20150619215914_create_pulitzer_post_type_content_element_types.rb
|
1046
|
+
- spec/dummy/db/migrate/20150629195832_add_plural_and_template_to_pulitzer_post_types.rb
|
1047
|
+
- spec/dummy/db/migrate/20150702150819_add_pulitzer_content_element_types.rb
|
1048
|
+
- spec/dummy/db/migrate/20150724150230_add_slug_to_pulitzer_posts.rb
|
1049
|
+
- spec/dummy/db/migrate/20150902212741_change_label_type_from_pulitzer_post_tags.rb
|
1050
|
+
- spec/dummy/db/migrate/20151026180630_add_text_editor_to_pulitzer_post_type_content_element_types.rb
|
1051
|
+
- spec/dummy/db/migrate/20151029194354_create_pulitzer_versions.rb
|
1052
|
+
- spec/dummy/db/migrate/20151029220558_change_post_elements_to_versions.rb
|
1053
|
+
- spec/dummy/db/migrate/20151113183344_add_post_type_content_element_attributes_to_content_elements.rb
|
1054
|
+
- spec/dummy/db/migrate/20151116162508_change_template_to_pulitzer_post_types.rb
|
1055
|
+
- spec/dummy/db/migrate/20151118031237_add_kind_to_pulitzer_content_elements.rb
|
1056
|
+
- spec/dummy/db/migrate/20160122204201_add_errors_to_version.rb
|
1057
|
+
- spec/dummy/db/migrate/20160511192041_create_partials.rb
|
1058
|
+
- spec/dummy/db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
|
1059
|
+
- spec/dummy/db/migrate/20160512214545_add_partial_to_content_element.rb
|
1060
|
+
- spec/dummy/db/migrate/20160513153209_create_free_form_section_type.rb
|
1061
|
+
- spec/dummy/db/migrate/20160513153214_create_free_form_section.rb
|
1062
|
+
- spec/dummy/db/migrate/20160516150237_fix_post_type_kinds.rb
|
1063
|
+
- spec/dummy/db/migrate/20160517181706_create_layouts.rb
|
1064
|
+
- spec/dummy/db/migrate/20160517182500_add_layout_to_partial.rb
|
1065
|
+
- spec/dummy/db/migrate/20160519181030_add_label_to_partial.rb
|
1066
|
+
- spec/dummy/db/migrate/20160609214139_remove_title_from_content_elements.rb
|
1067
|
+
- spec/dummy/db/migrate/20160927160910_add_required_to_pulitzer_post_type_content_element_type.rb
|
982
1068
|
- spec/dummy/db/schema.rb
|
983
1069
|
- spec/dummy/db/test.sqlite3
|
984
1070
|
- spec/dummy/log/development.log
|
@@ -1189,6 +1275,12 @@ test_files:
|
|
1189
1275
|
- spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/cms_sam_and_snow.jpg
|
1190
1276
|
- spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/sam_and_snow.jpg
|
1191
1277
|
- spec/dummy/public/uploads/tmp/1474046794-18071-0001-4674/thumb_sam_and_snow.jpg
|
1278
|
+
- spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/cms_sam_and_snow.jpg
|
1279
|
+
- spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/sam_and_snow.jpg
|
1280
|
+
- spec/dummy/public/uploads/tmp/1481137841-25126-0001-1732/thumb_sam_and_snow.jpg
|
1281
|
+
- spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/cms_sam_and_snow.jpg
|
1282
|
+
- spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/sam_and_snow.jpg
|
1283
|
+
- spec/dummy/public/uploads/tmp/1481139929-27725-0001-9237/thumb_sam_and_snow.jpg
|
1192
1284
|
- spec/dummy/Rakefile
|
1193
1285
|
- spec/dummy/README.rdoc
|
1194
1286
|
- spec/dummy/tmp/cache/assets/development/sass/6a6b1d4ef8b2d2e171d4a10a545a635415f70c2d/pulitzer.scssc
|