pulitzer 0.15.19 → 0.15.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/pulitzer/partial_tags_controller.rb +13 -0
  3. data/app/interactions/pulitzer/partial_tags_controller/create_partial_tag.rb +19 -0
  4. data/app/models/pulitzer/partial.rb +4 -2
  5. data/app/models/pulitzer/partial_tag.rb +14 -0
  6. data/app/models/pulitzer/tag.rb +1 -0
  7. data/app/views/pulitzer/content_elements/_partial_index.html.erb +10 -1
  8. data/app/views/pulitzer/partial_tags/_new.html.erb +9 -0
  9. data/app/views/pulitzer/partial_tags/_show.html.erb +11 -0
  10. data/app/views/pulitzer/partial_tags/_show_wrapper.html.erb +3 -0
  11. data/app/views/pulitzer/partials/_form.html.erb +2 -2
  12. data/config/routes.rb +1 -0
  13. data/db/migrate/20170913214214_create_pulitzer_partial_tags.rb +11 -0
  14. data/lib/pulitzer/version.rb +1 -1
  15. data/spec/dummy/db/development.sqlite3 +0 -0
  16. data/spec/dummy/db/schema.rb +79 -71
  17. data/spec/dummy/db/test.sqlite3 +0 -0
  18. data/spec/dummy/log/development.log +939 -0
  19. data/spec/dummy/log/test.log +36799 -0
  20. data/spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg +0 -0
  21. data/spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg +0 -0
  22. data/spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg +0 -0
  23. data/spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg +0 -0
  24. data/spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg +0 -0
  25. data/spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg +0 -0
  26. data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg +0 -0
  27. data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg +0 -0
  28. data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg +0 -0
  29. metadata +105 -72
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.15.19
4
+ version: 0.15.20
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: 2017-09-18 00:00:00.000000000 Z
12
+ date: 2017-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -521,6 +521,7 @@ files:
521
521
  - app/controllers/pulitzer/free_form_section_types_controller.rb
522
522
  - app/controllers/pulitzer/justification_styles_controller.rb
523
523
  - app/controllers/pulitzer/layouts_controller.rb
524
+ - app/controllers/pulitzer/partial_tags_controller.rb
524
525
  - app/controllers/pulitzer/partial_types_controller.rb
525
526
  - app/controllers/pulitzer/partials_controller.rb
526
527
  - app/controllers/pulitzer/post_tags_controller.rb
@@ -545,6 +546,7 @@ files:
545
546
  - app/interactions/pulitzer/create_singleton_post.rb
546
547
  - app/interactions/pulitzer/destroy_post_type_content_elements.rb
547
548
  - app/interactions/pulitzer/destroy_post_type_free_form_sections.rb
549
+ - app/interactions/pulitzer/partial_tags_controller/create_partial_tag.rb
548
550
  - app/interactions/pulitzer/partials_controller/upgrade_partial_version.rb
549
551
  - app/interactions/pulitzer/post_type_versions_controller/change_state.rb
550
552
  - app/interactions/pulitzer/post_type_versions_controller/clone.rb
@@ -580,6 +582,7 @@ files:
580
582
  - app/models/pulitzer/free_form_section_type.rb
581
583
  - app/models/pulitzer/justification_style.rb
582
584
  - app/models/pulitzer/partial.rb
585
+ - app/models/pulitzer/partial_tag.rb
583
586
  - app/models/pulitzer/partial_type.rb
584
587
  - app/models/pulitzer/post.rb
585
588
  - app/models/pulitzer/post_tag.rb
@@ -641,6 +644,9 @@ files:
641
644
  - app/views/pulitzer/justification_styles/_new.html.erb
642
645
  - app/views/pulitzer/justification_styles/_show.html.erb
643
646
  - app/views/pulitzer/justification_styles/_show_wrapper.html.erb
647
+ - app/views/pulitzer/partial_tags/_new.html.erb
648
+ - app/views/pulitzer/partial_tags/_show.html.erb
649
+ - app/views/pulitzer/partial_tags/_show_wrapper.html.erb
644
650
  - app/views/pulitzer/partial_types/_index.html.erb
645
651
  - app/views/pulitzer/partial_types/_new.html.erb
646
652
  - app/views/pulitzer/partial_types/_show.html.erb
@@ -751,6 +757,7 @@ files:
751
757
  - db/migrate/20170601195822_add_clickable_type_to_ptcet.rb
752
758
  - db/migrate/20170602204900_add_style_to_content_element.rb
753
759
  - db/migrate/20170703200638_add_status_to_pulitzer_post_type_version.rb
760
+ - db/migrate/20170913214214_create_pulitzer_partial_tags.rb
754
761
  - lib/generators/pulitzer/post_type_generator.rb
755
762
  - lib/generators/pulitzer/templates/post_view.html.erb
756
763
  - lib/pulitzer.rb
@@ -816,15 +823,28 @@ files:
816
823
  - spec/dummy/config/locales/en.yml
817
824
  - spec/dummy/config/routes.rb
818
825
  - spec/dummy/config/secrets.yml
826
+ - spec/dummy/db/development.sqlite3
819
827
  - spec/dummy/db/schema.rb
820
828
  - spec/dummy/db/seeds.rb
821
829
  - spec/dummy/db/seeds/pulitzer_post_types.rb
830
+ - spec/dummy/db/test.sqlite3
822
831
  - spec/dummy/lib/state_machine/model.rb
823
832
  - spec/dummy/lib/state_machine/transition.rb
833
+ - spec/dummy/log/development.log
834
+ - spec/dummy/log/test.log
824
835
  - spec/dummy/public/404.html
825
836
  - spec/dummy/public/422.html
826
837
  - spec/dummy/public/500.html
827
838
  - spec/dummy/public/favicon.ico
839
+ - spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg
840
+ - spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg
841
+ - spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg
842
+ - spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg
843
+ - spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg
844
+ - spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg
845
+ - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg
846
+ - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg
847
+ - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg
828
848
  - spec/factories/content_element.rb
829
849
  - spec/factories/content_element_type.rb
830
850
  - spec/factories/free_form_section_types.rb
@@ -877,105 +897,118 @@ required_rubygems_version: !ruby/object:Gem::Requirement
877
897
  version: '0'
878
898
  requirements: []
879
899
  rubyforge_project:
880
- rubygems_version: 2.6.11
900
+ rubygems_version: 2.5.1
881
901
  signing_key:
882
902
  specification_version: 4
883
903
  summary: A content management engine for Ruby on Rails.
884
904
  test_files:
885
- - spec/lib/pulitzer_spec.rb
886
- - spec/support/files/sam_and_snow.jpg
887
- - spec/dummy/config.ru
888
- - spec/dummy/public/favicon.ico
889
- - spec/dummy/public/404.html
890
- - spec/dummy/public/422.html
891
- - spec/dummy/public/500.html
892
- - spec/dummy/lib/state_machine/transition.rb
893
- - spec/dummy/lib/state_machine/model.rb
894
- - spec/dummy/bin/rake
895
- - spec/dummy/bin/rails
896
- - spec/dummy/bin/setup
897
- - spec/dummy/bin/bundle
898
- - spec/dummy/app/helpers/application_helper.rb
899
- - spec/dummy/app/assets/stylesheets/application.css
905
+ - spec/controllers/pages_controller_spec.rb
906
+ - spec/controllers/pulitzer/arrangement_styles_controller_spec.rb
907
+ - spec/controllers/pulitzer/background_styles_controller_spec.rb
908
+ - spec/controllers/pulitzer/content_elements_controller_spec.rb
909
+ - spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
910
+ - spec/controllers/pulitzer/justification_styles_controller_spec.rb
911
+ - spec/controllers/pulitzer/partials_controller_spec.rb
912
+ - spec/controllers/pulitzer/post_type_content_element_types_controller_spec.rb
913
+ - spec/controllers/pulitzer/post_type_versions_controller_spec.rb
914
+ - spec/controllers/pulitzer/post_types_controller_spec.rb
915
+ - spec/controllers/pulitzer/sequence_flow_styles_controller_spec.rb
916
+ - spec/controllers/pulitzer/versions_controller_spec.rb
917
+ - spec/controllers/tags_controller_spec.rb
900
918
  - spec/dummy/app/assets/javascripts/application.js
901
919
  - spec/dummy/app/assets/javascripts/jquery.js
920
+ - spec/dummy/app/assets/stylesheets/application.css
902
921
  - spec/dummy/app/controllers/application_controller.rb
903
922
  - spec/dummy/app/controllers/pages_controller.rb
904
923
  - spec/dummy/app/controllers/pulitzer_preview/pages_controller.rb
924
+ - spec/dummy/app/helpers/application_helper.rb
905
925
  - spec/dummy/app/models/ability.rb
906
926
  - spec/dummy/app/models/search_location.rb
907
927
  - spec/dummy/app/models/user.rb
908
- - spec/dummy/app/views/pages/welcome.html.erb
928
+ - spec/dummy/app/views/layouts/application.html.erb
909
929
  - spec/dummy/app/views/pages/about_us.html.erb
910
930
  - spec/dummy/app/views/pages/freeform.html.erb
911
931
  - spec/dummy/app/views/pages/news_posts.html.erb
912
- - spec/dummy/app/views/layouts/application.html.erb
932
+ - spec/dummy/app/views/pages/welcome.html.erb
913
933
  - spec/dummy/app/views/pulitzer/welcome.html.erb
914
934
  - spec/dummy/app/views/toolbars/_simple_editor.html.erb
915
- - spec/dummy/README.rdoc
916
- - spec/dummy/config/database.yml
935
+ - spec/dummy/bin/bundle
936
+ - spec/dummy/bin/rails
937
+ - spec/dummy/bin/rake
938
+ - spec/dummy/bin/setup
917
939
  - spec/dummy/config/application.rb
918
- - spec/dummy/config/initializers/wrap_parameters.rb
919
- - spec/dummy/config/initializers/mime_types.rb
920
- - spec/dummy/config/initializers/filter_parameter_logging.rb
921
- - spec/dummy/config/initializers/cookies_serializer.rb
922
- - spec/dummy/config/initializers/backtrace_silencers.rb
923
- - spec/dummy/config/initializers/zz_pulitzer.rb
924
- - spec/dummy/config/initializers/assets.rb
925
- - spec/dummy/config/initializers/session_store.rb
926
- - spec/dummy/config/initializers/inflections.rb
927
- - spec/dummy/config/secrets.yml
928
- - spec/dummy/config/routes.rb
929
- - spec/dummy/config/environments/production.rb
940
+ - spec/dummy/config/boot.rb
941
+ - spec/dummy/config/database.yml
942
+ - spec/dummy/config/environment.rb
930
943
  - spec/dummy/config/environments/development.rb
944
+ - spec/dummy/config/environments/production.rb
931
945
  - spec/dummy/config/environments/test.rb
946
+ - spec/dummy/config/initializers/assets.rb
947
+ - spec/dummy/config/initializers/backtrace_silencers.rb
948
+ - spec/dummy/config/initializers/cookies_serializer.rb
949
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
950
+ - spec/dummy/config/initializers/inflections.rb
951
+ - spec/dummy/config/initializers/mime_types.rb
952
+ - spec/dummy/config/initializers/session_store.rb
953
+ - spec/dummy/config/initializers/wrap_parameters.rb
954
+ - spec/dummy/config/initializers/zz_pulitzer.rb
932
955
  - spec/dummy/config/locales/en.yml
933
- - spec/dummy/config/boot.rb
934
- - spec/dummy/config/environment.rb
935
- - spec/dummy/Rakefile
936
- - spec/dummy/db/seeds.rb
956
+ - spec/dummy/config/routes.rb
957
+ - spec/dummy/config/secrets.yml
958
+ - spec/dummy/config.ru
959
+ - spec/dummy/db/development.sqlite3
937
960
  - spec/dummy/db/schema.rb
938
961
  - spec/dummy/db/seeds/pulitzer_post_types.rb
939
- - spec/interactions/update_version_status_spec.rb
940
- - spec/interactions/create_free_form_section_partials_spec.rb
941
- - spec/interactions/create_post_content_elements_spec.rb
942
- - spec/interactions/create_partial_content_elements_spec.rb
943
- - spec/interactions/clone_version_spec.rb
944
- - spec/interactions/pulitzer/post_types_controller/import_version_spec.rb
945
- - spec/interactions/update_post_type_content_elements_spec.rb
946
- - spec/factories/post_type_content_element_type.rb
947
- - spec/factories/post_type_version.rb
948
- - spec/factories/free_form_section_types.rb
962
+ - spec/dummy/db/seeds.rb
963
+ - spec/dummy/db/test.sqlite3
964
+ - spec/dummy/lib/state_machine/model.rb
965
+ - spec/dummy/lib/state_machine/transition.rb
966
+ - spec/dummy/log/development.log
967
+ - spec/dummy/log/test.log
968
+ - spec/dummy/public/404.html
969
+ - spec/dummy/public/422.html
970
+ - spec/dummy/public/500.html
971
+ - spec/dummy/public/favicon.ico
972
+ - spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg
973
+ - spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg
974
+ - spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg
975
+ - spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg
976
+ - spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg
977
+ - spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg
978
+ - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg
979
+ - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg
980
+ - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg
981
+ - spec/dummy/Rakefile
982
+ - spec/dummy/README.rdoc
949
983
  - spec/factories/content_element.rb
950
984
  - spec/factories/content_element_type.rb
951
- - spec/factories/post_type.rb
952
- - spec/factories/post.rb
953
- - spec/factories/version.rb
985
+ - spec/factories/free_form_section_types.rb
954
986
  - spec/factories/partial_type.rb
955
- - spec/factories/tag.rb
987
+ - spec/factories/post.rb
956
988
  - spec/factories/post_tag.rb
957
- - spec/fixtures/post_type_version.json
989
+ - spec/factories/post_type.rb
990
+ - spec/factories/post_type_content_element_type.rb
991
+ - spec/factories/post_type_version.rb
992
+ - spec/factories/tag.rb
993
+ - spec/factories/version.rb
958
994
  - spec/fixtures/files/post_type_version.json
959
995
  - spec/fixtures/foo.json
960
- - spec/rails_helper.rb
961
- - spec/spec_helper.rb
962
- - spec/controllers/pages_controller_spec.rb
963
- - spec/controllers/tags_controller_spec.rb
964
- - spec/controllers/pulitzer/partials_controller_spec.rb
965
- - spec/controllers/pulitzer/content_elements_controller_spec.rb
966
- - spec/controllers/pulitzer/sequence_flow_styles_controller_spec.rb
967
- - spec/controllers/pulitzer/justification_styles_controller_spec.rb
968
- - spec/controllers/pulitzer/post_type_versions_controller_spec.rb
969
- - spec/controllers/pulitzer/versions_controller_spec.rb
970
- - spec/controllers/pulitzer/arrangement_styles_controller_spec.rb
971
- - spec/controllers/pulitzer/post_types_controller_spec.rb
972
- - spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
973
- - spec/controllers/pulitzer/background_styles_controller_spec.rb
974
- - spec/controllers/pulitzer/post_type_content_element_types_controller_spec.rb
975
- - spec/models/version_spec.rb
976
- - spec/models/post_spec.rb
996
+ - spec/fixtures/post_type_version.json
997
+ - spec/interactions/clone_version_spec.rb
998
+ - spec/interactions/create_free_form_section_partials_spec.rb
999
+ - spec/interactions/create_partial_content_elements_spec.rb
1000
+ - spec/interactions/create_post_content_elements_spec.rb
1001
+ - spec/interactions/pulitzer/post_types_controller/import_version_spec.rb
1002
+ - spec/interactions/update_post_type_content_elements_spec.rb
1003
+ - spec/interactions/update_version_status_spec.rb
1004
+ - spec/lib/pulitzer_spec.rb
977
1005
  - spec/models/content_element_spec.rb
1006
+ - spec/models/post_spec.rb
1007
+ - spec/models/post_tag_spec.rb
978
1008
  - spec/models/post_type_content_element_type_spec.rb
979
- - spec/models/tag_spec.rb
980
1009
  - spec/models/post_type_spec.rb
981
- - spec/models/post_tag_spec.rb
1010
+ - spec/models/tag_spec.rb
1011
+ - spec/models/version_spec.rb
1012
+ - spec/rails_helper.rb
1013
+ - spec/spec_helper.rb
1014
+ - spec/support/files/sam_and_snow.jpg