spina-conferences-primer_theme-fork 0.9.0 → 1.0.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -4
  3. data/Rakefile +6 -0
  4. data/app/assets/builds/spina/conferences/primer_theme/application.css +25964 -0
  5. data/app/assets/config/spina_conferences_primer_theme_manifest.js +7 -4
  6. data/app/assets/javascripts/spina/conferences/primer_theme/application.js +6 -7
  7. data/app/assets/javascripts/spina/conferences/primer_theme/controllers/application.js +10 -0
  8. data/app/assets/javascripts/spina/conferences/primer_theme/controllers/index.js +5 -0
  9. data/app/assets/javascripts/spina/conferences/primer_theme/controllers/{slideshow_controller.es6 → slideshow_controller.js} +4 -3
  10. data/app/assets/stylesheets/spina/conferences/primer_theme/application.sass +1 -1
  11. data/app/controllers/spina/conferences/primer_theme/blog/application_controller.rb +2 -0
  12. data/app/controllers/spina/conferences/primer_theme/blog/categories_controller.rb +5 -2
  13. data/app/controllers/spina/conferences/primer_theme/blog/posts_controller.rb +7 -7
  14. data/app/controllers/spina/conferences/primer_theme/conferences/conferences_controller.rb +14 -13
  15. data/app/controllers/spina/conferences/primer_theme/conferences/presentations_controller.rb +2 -1
  16. data/app/controllers/spina/conferences/primer_theme/journal/articles_controller.rb +5 -3
  17. data/app/controllers/spina/conferences/primer_theme/journal/issues_controller.rb +2 -1
  18. data/app/helpers/spina/conferences/primer_theme/application_helper.rb +23 -13
  19. data/app/helpers/spina/conferences/primer_theme/asset_helper.rb +10 -2
  20. data/app/helpers/spina/conferences/primer_theme/navigations_helper.rb +3 -1
  21. data/app/models/spina/parts/conferences/primer_theme/checkbox.rb +6 -2
  22. data/app/models/spina/parts/conferences/primer_theme.rb +9 -3
  23. data/app/views/conferences_primer_theme/pages/about.html.haml +9 -9
  24. data/app/views/conferences_primer_theme/pages/committee.html.haml +10 -9
  25. data/app/views/conferences_primer_theme/pages/embedded_form.html.haml +2 -2
  26. data/app/views/conferences_primer_theme/pages/events.html.haml +3 -3
  27. data/app/views/conferences_primer_theme/pages/homepage.html.haml +2 -2
  28. data/app/views/conferences_primer_theme/pages/information.html.haml +2 -2
  29. data/app/views/conferences_primer_theme/pages/periodical.html.haml +5 -5
  30. data/app/views/conferences_primer_theme/pages/show.html.haml +1 -1
  31. data/app/views/conferences_primer_theme/partials/_event.html.haml +1 -1
  32. data/app/views/conferences_primer_theme/partials/_homepage_item.html.haml +2 -2
  33. data/app/views/layouts/spina/conferences/primer_theme/application.html.haml +7 -14
  34. data/app/views/spina/application/_admin_bar.html.haml +7 -0
  35. data/app/views/spina/application/_alert.html.haml +4 -0
  36. data/app/views/spina/application/_analytics.html.erb +10 -0
  37. data/app/views/spina/application/{_footer_content.html.haml → _cookies_footer.html.haml} +1 -1
  38. data/app/views/spina/application/_footer.html.haml +20 -12
  39. data/app/views/spina/application/_google_site_verification.html.haml +1 -0
  40. data/app/views/spina/application/_text.html.haml +1 -1
  41. data/app/views/spina/conferences/primer_theme/blog/categories/show.html.haml +1 -1
  42. data/app/views/spina/conferences/primer_theme/blog/posts/_post.html.haml +4 -3
  43. data/app/views/spina/conferences/primer_theme/blog/posts/index.html.haml +1 -1
  44. data/app/views/spina/conferences/primer_theme/blog/posts/show.html.haml +3 -3
  45. data/app/views/spina/conferences/primer_theme/blog/shared/_sidebar.html.haml +1 -1
  46. data/app/views/spina/conferences/primer_theme/conferences/conferences/_event.html.haml +3 -3
  47. data/app/views/spina/conferences/primer_theme/conferences/conferences/_events.html.haml +1 -1
  48. data/app/views/spina/conferences/primer_theme/conferences/conferences/_header.html.haml +1 -1
  49. data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentation.html.haml +3 -3
  50. data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentations.html.haml +1 -1
  51. data/app/views/spina/conferences/primer_theme/conferences/conferences/_submission_flash.html.haml +3 -3
  52. data/app/views/spina/conferences/primer_theme/conferences/conferences/show.html.haml +5 -5
  53. data/app/views/spina/conferences/primer_theme/conferences/presentations/_abstract.html.haml +1 -1
  54. data/app/views/spina/conferences/primer_theme/conferences/presentations/_attachments.html.haml +1 -1
  55. data/app/views/spina/conferences/primer_theme/conferences/presentations/show.html.haml +3 -3
  56. data/app/views/spina/conferences/primer_theme/journal/articles/_authorship.html.haml +2 -2
  57. data/app/views/spina/conferences/primer_theme/journal/articles/_metadata.html.haml +4 -4
  58. data/app/views/spina/conferences/primer_theme/journal/articles/show.html.haml +15 -15
  59. data/app/views/spina/conferences/primer_theme/journal/issues/_article.html.haml +2 -2
  60. data/app/views/spina/conferences/primer_theme/journal/issues/_issue.html.haml +3 -3
  61. data/app/views/spina/conferences/primer_theme/journal/issues/index.html.haml +2 -2
  62. data/app/views/spina/conferences/primer_theme/journal/issues/show.html.haml +3 -3
  63. data/config/initializers/importmap.rb +21 -0
  64. data/config/initializers/mime_types.rb +3 -1
  65. data/config/initializers/themes/conferences_primer_theme.rb +4 -2
  66. data/config/locales/en.yml +5 -2
  67. data/config/routes.rb +1 -1
  68. data/db/migrate/20210206170704_change_current_conference_alert_to_text.rb +1 -1
  69. data/lib/spina/conferences/primer_theme/breadcrumbs/builder.rb +4 -17
  70. data/lib/spina/conferences/primer_theme/engine.rb +4 -0
  71. data/lib/spina/conferences/primer_theme/version.rb +1 -1
  72. data/lib/spina/conferences/primer_theme.rb +10 -3
  73. metadata +55 -33
  74. data/app/views/spina/application/_current_conference_alert.html.haml +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7638db04dabeb5edc3de27c831870439c78710521acbd1c46a99b2b5f2061d16
4
- data.tar.gz: c759d3795b8bb2358d310e997198203a4ffda6f1a8f5bb9711df8b1f986b0dac
3
+ metadata.gz: cb05b4e1ad3a267e9271a932686234f556e7268d64b6810f0bc454013c39a6a5
4
+ data.tar.gz: 88b725abc9beccc27a5879779be534fa8c3e1aef4443e8f3d33ab01224e03fcb
5
5
  SHA512:
6
- metadata.gz: 83268c1e40a1e9094ab995e472b5e49316c9b19a9a54bd48071dee0a7a6e86441c8a294fd5776e1d36c8527f73072109002850516f80d5ea2bc73acf59d6b852
7
- data.tar.gz: f26deb07ceda524347c30b38b9de2d895ca7e22b5cbf6cf7c9b590dbde7743ae2a1e18d051858cb69ce3ef50cd228c30d3fb8c3050ef29ed644e7db94262a489
6
+ metadata.gz: 8f6f147dfc7855f2c9e67227455cda78baf867d13806a10178d2e279a1122398736d56ab0b3028f22395bd93ec769c4e9b6003c82dcc89aa1faafb66c4bd0b02
7
+ data.tar.gz: eef7ec098e81d0df97978634a9acaf2918f6fa14a3b9d17523a4b50f5c98d56c59575e0f9e03a38c1edaa5c8f5763337b3f39510532c1cb11042065ff39e861b
data/README.md CHANGED
@@ -1,10 +1,16 @@
1
- # PrimerTheme
2
- A plugin for `Spina` that provides a frontend for `Spina::Admin::Conferences` using components from `Primer::ViewComponents`.
1
+ # PrimerTheme: frontend for Spina
3
2
 
4
- This fork provides an updated version of the plugin, as the main repo is currently stale.
3
+ ![Rails tests](https://github.com/louis-vs/spina-conferences-primer_theme-fork/workflows/Verify/badge.svg?branch=master&event=push)
4
+ [![codecov](https://codecov.io/gh/louis-vs/spina-conferences-primer_theme-fork/branch/master/graph/badge.svg?token=9TZ9QGGLAH)](https://codecov.io/gh/louis-vs/spina-conferences-primer_theme-fork)
5
+ [![CodeFactor](https://www.codefactor.io/repository/github/louis-vs/spina-conferences-primer_theme-fork/badge)](https://www.codefactor.io/repository/github/louis-vs/spina-conferences-primer_theme-fork)
6
+ [![Inline docs](http://inch-ci.org/github/louis-vs/spina-conferences-primer_theme-fork.svg?branch=master)](http://inch-ci.org/github/louis-vs/spina-conferences-primer_theme-fork)
7
+
8
+ A plugin for `Spina` that provides a frontend for `Spina::Admin::Conferences`, `Spina::Admin::Journal`, and `Spina::Admin::Conferences::Blog` using components from `Primer::ViewComponents`.
9
+
10
+ This fork provides an updated version of the plugin, as the main repo is currently badly outdated.
5
11
 
6
12
  ## Usage
7
- See the README for `Spina::Admin::Conferences`. Also make sure to ensure compilation of the assets for this gem by adding the following line to your
13
+ See the READMEs for the conference plugin, the journal plugin, and the bog plugin, respectively, for more information on what kind of content this frontend allows you to create and how to do so within the admin interface. Also make sure to ensure compilation of the assets for this gem by adding the following line to your
8
14
  `manifest.js` file.
9
15
 
10
16
  ```js
data/Rakefile CHANGED
@@ -33,4 +33,10 @@ Rake::TestTask.new(:test) do |t|
33
33
  t.ruby_opts = %w[-W:no-deprecated]
34
34
  end
35
35
 
36
+ require 'rubocop/rake_task'
37
+
38
+ RuboCop::RakeTask.new do |t|
39
+ t.options << '--parallel' if ENV['CI']
40
+ end
41
+
36
42
  task default: :test