spina-conferences-primer_theme-fork 0.10.0 → 1.0.0.rc4

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 (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +60 -12
  3. data/app/assets/builds/spina/conferences/primer_theme/application.css +25964 -0
  4. data/app/assets/config/spina_conferences_primer_theme_manifest.js +7 -4
  5. data/app/assets/javascripts/spina/conferences/primer_theme/application.js +6 -7
  6. data/app/assets/javascripts/spina/conferences/primer_theme/controllers/application.js +10 -0
  7. data/app/assets/javascripts/spina/conferences/primer_theme/controllers/index.js +5 -0
  8. data/app/assets/javascripts/spina/conferences/primer_theme/controllers/{slideshow_controller.es6 → slideshow_controller.js} +14 -4
  9. data/app/assets/stylesheets/spina/conferences/primer_theme/application.sass +1 -1
  10. data/app/controllers/spina/conferences/primer_theme/blog/application_controller.rb +11 -0
  11. data/app/controllers/spina/conferences/primer_theme/blog/categories_controller.rb +0 -10
  12. data/app/controllers/spina/conferences/primer_theme/blog/posts_controller.rb +0 -15
  13. data/app/controllers/spina/conferences/primer_theme/conferences/application_controller.rb +13 -0
  14. data/app/controllers/spina/conferences/primer_theme/journal/application_controller.rb +12 -0
  15. data/app/controllers/spina/conferences/primer_theme/journal/articles_controller.rb +13 -7
  16. data/app/controllers/spina/conferences/primer_theme/journal/authors_controller.rb +48 -0
  17. data/app/controllers/spina/conferences/primer_theme/journal/issues_controller.rb +11 -4
  18. data/app/helpers/spina/conferences/primer_theme/application_helper.rb +20 -1
  19. data/app/helpers/spina/conferences/primer_theme/navigations_helper.rb +13 -0
  20. data/app/views/conferences_primer_theme/pages/about.html.haml +16 -10
  21. data/app/views/conferences_primer_theme/pages/committee.html.haml +8 -6
  22. data/app/views/conferences_primer_theme/pages/embedded_form.html.haml +1 -1
  23. data/app/views/conferences_primer_theme/pages/events.html.haml +11 -5
  24. data/app/views/conferences_primer_theme/pages/information.html.haml +1 -1
  25. data/app/views/conferences_primer_theme/pages/journal_information.html.haml +10 -0
  26. data/app/views/conferences_primer_theme/pages/periodical.html.haml +8 -8
  27. data/app/views/conferences_primer_theme/partials/_event.html.haml +2 -2
  28. data/app/views/conferences_primer_theme/partials/_homepage_item.html.haml +1 -1
  29. data/app/views/layouts/conferences_primer_theme/application.html.haml +1 -1
  30. data/app/views/layouts/spina/conferences/primer_theme/application.html.haml +7 -14
  31. data/app/views/layouts/spina/conferences/primer_theme/journal/articles.html.haml +3 -0
  32. data/app/views/layouts/spina/conferences/primer_theme/journal/authors.html.haml +5 -0
  33. data/app/views/layouts/spina/conferences/primer_theme/journal/issues.html.haml +3 -0
  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/_cookies.html.haml +8 -7
  38. data/app/views/spina/application/_cookies_footer.html.haml +15 -0
  39. data/app/views/spina/application/_footer.html.haml +21 -13
  40. data/app/views/spina/application/_google_site_verification.html.haml +1 -0
  41. data/app/views/spina/application/_journal_navigation.html.haml +17 -0
  42. data/app/views/spina/application/_mobile_navigation_items.html.haml +0 -3
  43. data/app/views/spina/application/_navigation.html.haml +1 -4
  44. data/app/views/spina/conferences/primer_theme/blog/categories/show.html.haml +5 -3
  45. data/app/views/spina/conferences/primer_theme/blog/posts/_post.html.haml +3 -2
  46. data/app/views/spina/conferences/primer_theme/blog/posts/index.html.haml +5 -3
  47. data/app/views/spina/conferences/primer_theme/blog/posts/show.html.haml +5 -5
  48. data/app/views/spina/conferences/primer_theme/conferences/conferences/_conference.html.haml +2 -2
  49. data/app/views/spina/conferences/primer_theme/conferences/conferences/_event.html.haml +3 -3
  50. data/app/views/spina/conferences/primer_theme/conferences/conferences/_events.html.haml +6 -3
  51. data/app/views/spina/conferences/primer_theme/conferences/conferences/_header.html.haml +3 -3
  52. data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentation.html.haml +1 -1
  53. data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentations.html.haml +9 -6
  54. data/app/views/spina/conferences/primer_theme/conferences/conferences/_submission_flash.html.haml +2 -2
  55. data/app/views/spina/conferences/primer_theme/conferences/conferences/index.html.haml +9 -6
  56. data/app/views/spina/conferences/primer_theme/conferences/conferences/show.html.haml +8 -4
  57. data/app/views/spina/conferences/primer_theme/journal/articles/_authorship.html.haml +8 -6
  58. data/app/views/spina/conferences/primer_theme/journal/articles/_metadata.html.haml +7 -7
  59. data/app/views/spina/conferences/primer_theme/journal/articles/show.html.haml +12 -14
  60. data/app/views/spina/conferences/primer_theme/journal/authors/_author.html.haml +9 -0
  61. data/app/views/spina/conferences/primer_theme/journal/authors/index.html.haml +12 -0
  62. data/app/views/spina/conferences/primer_theme/journal/authors/show.html.haml +22 -0
  63. data/app/views/spina/conferences/primer_theme/journal/issues/_article.html.haml +4 -4
  64. data/app/views/spina/conferences/primer_theme/journal/issues/_issue.html.haml +7 -6
  65. data/app/views/spina/conferences/primer_theme/journal/issues/index.html.haml +30 -24
  66. data/app/views/spina/conferences/primer_theme/journal/issues/show.html.haml +33 -21
  67. data/config/initializers/importmap.rb +21 -0
  68. data/config/initializers/primer.rb +1 -1
  69. data/config/initializers/themes/conferences_primer_theme.rb +14 -2
  70. data/config/locales/en.yml +21 -32
  71. data/config/routes.rb +6 -2
  72. data/lib/spina/conferences/primer_theme/engine.rb +6 -2
  73. data/lib/spina/conferences/primer_theme/version.rb +1 -1
  74. data/lib/spina/conferences/primer_theme.rb +10 -2
  75. metadata +53 -25
  76. data/app/views/spina/application/_current_conference_alert.html.haml +0 -4
  77. data/app/views/spina/application/_footer_content.html.haml +0 -13
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-conferences-primer_theme-fork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 1.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Malčić
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-20 00:00:00.000000000 Z
12
+ date: 2022-02-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: babel-transpiler
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0.7'
28
+ - !ruby/object:Gem::Dependency
29
+ name: cssbundling-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.0'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: icalendar
30
44
  requirement: !ruby/object:Gem::Requirement
@@ -59,84 +73,84 @@ dependencies:
59
73
  requirements:
60
74
  - - '='
61
75
  - !ruby/object:Gem::Version
62
- version: 0.0.66
76
+ version: 0.0.67
63
77
  type: :runtime
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - '='
68
82
  - !ruby/object:Gem::Version
69
- version: 0.0.66
83
+ version: 0.0.67
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: rails
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
88
  - - "~>"
75
89
  - !ruby/object:Gem::Version
76
- version: '6.0'
90
+ version: '7.0'
77
91
  type: :runtime
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - "~>"
82
96
  - !ruby/object:Gem::Version
83
- version: '6.0'
97
+ version: '7.0'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: spina
86
100
  requirement: !ruby/object:Gem::Requirement
87
101
  requirements:
88
102
  - - "~>"
89
103
  - !ruby/object:Gem::Version
90
- version: 2.0.0
104
+ version: '2.8'
91
105
  type: :runtime
92
106
  prerelease: false
93
107
  version_requirements: !ruby/object:Gem::Requirement
94
108
  requirements:
95
109
  - - "~>"
96
110
  - !ruby/object:Gem::Version
97
- version: 2.0.0
111
+ version: '2.8'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: spina-admin-conferences-blog
100
114
  requirement: !ruby/object:Gem::Requirement
101
115
  requirements:
102
- - - "~>"
116
+ - - '='
103
117
  - !ruby/object:Gem::Version
104
- version: 0.1.4
118
+ version: 0.3.1
105
119
  type: :runtime
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
108
122
  requirements:
109
- - - "~>"
123
+ - - '='
110
124
  - !ruby/object:Gem::Version
111
- version: 0.1.4
125
+ version: 0.3.1
112
126
  - !ruby/object:Gem::Dependency
113
127
  name: spina-admin-conferences-fork
114
128
  requirement: !ruby/object:Gem::Requirement
115
129
  requirements:
116
- - - "~>"
130
+ - - '='
117
131
  - !ruby/object:Gem::Version
118
- version: 2.1.0
132
+ version: 3.0.0.rc2
119
133
  type: :runtime
120
134
  prerelease: false
121
135
  version_requirements: !ruby/object:Gem::Requirement
122
136
  requirements:
123
- - - "~>"
137
+ - - '='
124
138
  - !ruby/object:Gem::Version
125
- version: 2.1.0
139
+ version: 3.0.0.rc2
126
140
  - !ruby/object:Gem::Dependency
127
141
  name: spina-admin-journal
128
142
  requirement: !ruby/object:Gem::Requirement
129
143
  requirements:
130
- - - "~>"
144
+ - - '='
131
145
  - !ruby/object:Gem::Version
132
- version: 0.6.0
146
+ version: 1.0.0.rc3
133
147
  type: :runtime
134
148
  prerelease: false
135
149
  version_requirements: !ruby/object:Gem::Requirement
136
150
  requirements:
137
- - - "~>"
151
+ - - '='
138
152
  - !ruby/object:Gem::Version
139
- version: 0.6.0
153
+ version: 1.0.0.rc3
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: capybara
142
156
  requirement: !ruby/object:Gem::Requirement
@@ -302,9 +316,12 @@ files:
302
316
  - MIT-LICENSE
303
317
  - README.md
304
318
  - Rakefile
319
+ - app/assets/builds/spina/conferences/primer_theme/application.css
305
320
  - app/assets/config/spina_conferences_primer_theme_manifest.js
306
321
  - app/assets/javascripts/spina/conferences/primer_theme/application.js
307
- - app/assets/javascripts/spina/conferences/primer_theme/controllers/slideshow_controller.es6
322
+ - app/assets/javascripts/spina/conferences/primer_theme/controllers/application.js
323
+ - app/assets/javascripts/spina/conferences/primer_theme/controllers/index.js
324
+ - app/assets/javascripts/spina/conferences/primer_theme/controllers/slideshow_controller.js
308
325
  - app/assets/stylesheets/spina/conferences/primer_theme/_custom.sass
309
326
  - app/assets/stylesheets/spina/conferences/primer_theme/_custom_variables.sass
310
327
  - app/assets/stylesheets/spina/conferences/primer_theme/application.sass
@@ -316,6 +333,7 @@ files:
316
333
  - app/controllers/spina/conferences/primer_theme/conferences/presentations_controller.rb
317
334
  - app/controllers/spina/conferences/primer_theme/journal/application_controller.rb
318
335
  - app/controllers/spina/conferences/primer_theme/journal/articles_controller.rb
336
+ - app/controllers/spina/conferences/primer_theme/journal/authors_controller.rb
319
337
  - app/controllers/spina/conferences/primer_theme/journal/issues_controller.rb
320
338
  - app/helpers/spina/conferences/primer_theme/application_helper.rb
321
339
  - app/helpers/spina/conferences/primer_theme/asset_helper.rb
@@ -328,6 +346,7 @@ files:
328
346
  - app/views/conferences_primer_theme/pages/events.html.haml
329
347
  - app/views/conferences_primer_theme/pages/homepage.html.haml
330
348
  - app/views/conferences_primer_theme/pages/information.html.haml
349
+ - app/views/conferences_primer_theme/pages/journal_information.html.haml
331
350
  - app/views/conferences_primer_theme/pages/periodical.html.haml
332
351
  - app/views/conferences_primer_theme/pages/show.html.haml
333
352
  - app/views/conferences_primer_theme/partials/_event.html.haml
@@ -338,13 +357,18 @@ files:
338
357
  - app/views/layouts/spina/conferences/primer_theme/conferences/conferences.html.haml
339
358
  - app/views/layouts/spina/conferences/primer_theme/conferences/presentations.html.haml
340
359
  - app/views/layouts/spina/conferences/primer_theme/journal/articles.html.haml
360
+ - app/views/layouts/spina/conferences/primer_theme/journal/authors.html.haml
341
361
  - app/views/layouts/spina/conferences/primer_theme/journal/issues.html.haml
342
362
  - app/views/spina/admin/layout_partables/texts/_form.html.haml
343
363
  - app/views/spina/admin/parts/conferences/primer_theme/checkboxes/_form.html.haml
364
+ - app/views/spina/application/_admin_bar.html.haml
365
+ - app/views/spina/application/_alert.html.haml
366
+ - app/views/spina/application/_analytics.html.erb
344
367
  - app/views/spina/application/_cookies.html.haml
345
- - app/views/spina/application/_current_conference_alert.html.haml
368
+ - app/views/spina/application/_cookies_footer.html.haml
346
369
  - app/views/spina/application/_footer.html.haml
347
- - app/views/spina/application/_footer_content.html.haml
370
+ - app/views/spina/application/_google_site_verification.html.haml
371
+ - app/views/spina/application/_journal_navigation.html.haml
348
372
  - app/views/spina/application/_list_item.html.haml
349
373
  - app/views/spina/application/_logo.html.haml
350
374
  - app/views/spina/application/_mobile_navigation_item.html.haml
@@ -383,12 +407,16 @@ files:
383
407
  - app/views/spina/conferences/primer_theme/journal/articles/_authorship.html.haml
384
408
  - app/views/spina/conferences/primer_theme/journal/articles/_metadata.html.haml
385
409
  - app/views/spina/conferences/primer_theme/journal/articles/show.html.haml
410
+ - app/views/spina/conferences/primer_theme/journal/authors/_author.html.haml
411
+ - app/views/spina/conferences/primer_theme/journal/authors/index.html.haml
412
+ - app/views/spina/conferences/primer_theme/journal/authors/show.html.haml
386
413
  - app/views/spina/conferences/primer_theme/journal/issues/_article.html.haml
387
414
  - app/views/spina/conferences/primer_theme/journal/issues/_issue.html.haml
388
415
  - app/views/spina/conferences/primer_theme/journal/issues/_issue_cover.html.haml
389
416
  - app/views/spina/conferences/primer_theme/journal/issues/index.html.haml
390
417
  - app/views/spina/conferences/primer_theme/journal/issues/show.html.haml
391
418
  - config/initializers/assets.rb
419
+ - config/initializers/importmap.rb
392
420
  - config/initializers/mime_types.rb
393
421
  - config/initializers/primer.rb
394
422
  - config/initializers/themes/conferences_primer_theme.rb
@@ -418,9 +446,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
418
446
  version: '2.7'
419
447
  required_rubygems_version: !ruby/object:Gem::Requirement
420
448
  requirements:
421
- - - ">="
449
+ - - ">"
422
450
  - !ruby/object:Gem::Version
423
- version: '0'
451
+ version: 1.3.1
424
452
  requirements: []
425
453
  rubygems_version: 3.1.6
426
454
  signing_key:
@@ -1,4 +0,0 @@
1
- - content_for :flash do
2
- - cache current_account do
3
- - if current_account.has_content? :current_conference_alert
4
- = render(Primer::FlashComponent.new(full: true, variant: :warning)) { current_account.content(:current_conference_alert).html_safe }
@@ -1,13 +0,0 @@
1
- = render Primer::DetailsComponent.new(overlay: :dark, reset: true, mb: [2, 0, nil, nil], mr: [nil, 2, nil, nil]) do |component|
2
- = component.summary(button_type: :outline, variant: :small, aria: { haspopup: 'dialog' }, type: nil) do
3
- = render Primer::OcticonComponent.new('info')
4
- = t :'.cookies'
5
- = component.body(tag: :'details-dialog') do
6
- %include-fragment{ src: frontend_cookies_info_path, loading: :lazy }
7
- = render Primer::BorderBoxComponent.new(classes: 'Box--overlay') do |box_component|
8
- = box_component.body do
9
- = button_tag(data: { 'close-dialog': true }, aria: { label: t(:'spina.close') }, type: 'button',
10
- class: %w[Box-btn-octicon btn-octicon m-0 position-absolute right-0 top-0]) do
11
- = render Primer::OcticonComponent.new('x')
12
- = render Primer::BlankslateComponent.new(title: t('.loading')) do |blankslate_component|
13
- = blankslate_component.spinner(size: :large)