arclight 0.2.0 β†’ 1.6.2

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 (246) hide show
  1. checksums.yaml +4 -4
  2. data/.all-contributorsrc +450 -0
  3. data/.codeclimate.yml +5 -0
  4. data/.eslintrc +14 -4
  5. data/.github/workflows/ruby.yml +51 -0
  6. data/.gitignore +1 -0
  7. data/.rspec +0 -1
  8. data/.rubocop.yml +504 -8
  9. data/.rubocop_todo.yml +62 -199
  10. data/.solr_wrapper +2 -1
  11. data/CONTRIBUTING.md +5 -5
  12. data/CONTRIBUTORS.md +79 -0
  13. data/Gemfile +15 -10
  14. data/README.md +36 -34
  15. data/Rakefile +0 -1
  16. data/app/assets/images/blacklight/bookmark.svg +1 -0
  17. data/app/assets/images/blacklight/collection.svg +5 -0
  18. data/app/assets/images/blacklight/compact.svg +1 -25
  19. data/app/assets/images/blacklight/container.svg +5 -0
  20. data/app/assets/images/blacklight/ead.svg +1 -0
  21. data/app/assets/images/blacklight/file.svg +5 -0
  22. data/app/assets/images/blacklight/folder.svg +1 -0
  23. data/app/assets/images/blacklight/list.svg +1 -0
  24. data/app/assets/images/blacklight/minus.svg +1 -0
  25. data/app/assets/images/blacklight/online.svg +5 -0
  26. data/app/assets/images/blacklight/pdf.svg +1 -0
  27. data/app/assets/images/blacklight/plus.svg +1 -0
  28. data/app/assets/images/blacklight/repository.svg +1 -0
  29. data/app/assets/javascripts/arclight/arclight.js +4 -10
  30. data/app/assets/javascripts/arclight/oembed_controller.js +58 -0
  31. data/app/assets/javascripts/arclight/truncate_controller.js +27 -0
  32. data/app/assets/stylesheets/arclight/application.scss +4 -4
  33. data/app/assets/stylesheets/arclight/build.scss +4 -0
  34. data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +117 -146
  35. data/app/assets/stylesheets/arclight/modules/highlights.scss +2 -1
  36. data/app/assets/stylesheets/arclight/modules/icons.scss +20 -0
  37. data/app/assets/stylesheets/arclight/modules/layout.scss +183 -40
  38. data/app/assets/stylesheets/arclight/modules/mastheads.scss +24 -75
  39. data/app/assets/stylesheets/arclight/modules/repositories.scss +3 -7
  40. data/app/assets/stylesheets/arclight/modules/repository_card.scss +5 -50
  41. data/app/assets/stylesheets/arclight/modules/search_form.scss +9 -0
  42. data/app/assets/stylesheets/arclight/modules/search_results.scss +197 -26
  43. data/app/assets/stylesheets/arclight/modules/show_collection.scss +21 -69
  44. data/app/assets/stylesheets/arclight/modules/truncator.scss +58 -0
  45. data/app/assets/stylesheets/arclight/responsive.scss +13 -0
  46. data/app/assets/stylesheets/arclight/variables.scss +25 -2
  47. data/app/components/arclight/access_component.html.erb +14 -0
  48. data/app/components/arclight/access_component.rb +25 -0
  49. data/app/components/arclight/bookmark_component.html.erb +25 -0
  50. data/app/components/arclight/bookmark_component.rb +9 -0
  51. data/app/components/arclight/breadcrumb_component.rb +50 -0
  52. data/app/components/arclight/breadcrumbs_hierarchy_component.html.erb +34 -0
  53. data/app/components/arclight/breadcrumbs_hierarchy_component.rb +25 -0
  54. data/app/components/arclight/collection_context_component.html.erb +12 -0
  55. data/app/components/arclight/collection_context_component.rb +27 -0
  56. data/app/components/arclight/collection_info_component.html.erb +28 -0
  57. data/app/components/arclight/collection_info_component.rb +26 -0
  58. data/app/components/arclight/collection_sidebar_component.html.erb +15 -0
  59. data/app/components/arclight/collection_sidebar_component.rb +39 -0
  60. data/app/{views/catalog/_search_results_repository.html.erb β†’ components/arclight/constraints_component.html.erb} +2 -1
  61. data/app/components/arclight/constraints_component.rb +17 -0
  62. data/app/components/arclight/document_collection_context_component.html.erb +29 -0
  63. data/app/components/arclight/document_collection_context_component.rb +28 -0
  64. data/app/components/arclight/document_collection_hierarchy_component.html.erb +50 -0
  65. data/app/components/arclight/document_collection_hierarchy_component.rb +62 -0
  66. data/app/components/arclight/document_component.html.erb +39 -0
  67. data/app/components/arclight/document_component.rb +49 -0
  68. data/app/components/arclight/document_components_hierarchy_component.html.erb +20 -0
  69. data/app/components/arclight/document_components_hierarchy_component.rb +34 -0
  70. data/app/components/arclight/document_download_component.html.erb +24 -0
  71. data/app/components/arclight/document_download_component.rb +71 -0
  72. data/app/components/arclight/embed_component.html.erb +10 -0
  73. data/app/components/arclight/embed_component.rb +43 -0
  74. data/app/components/arclight/expand_hierarchy_button_component.html.erb +5 -0
  75. data/app/components/arclight/expand_hierarchy_button_component.rb +16 -0
  76. data/app/components/arclight/group_component.html.erb +34 -0
  77. data/app/components/arclight/group_component.rb +23 -0
  78. data/app/components/arclight/header_component.html.erb +5 -0
  79. data/app/components/arclight/header_component.rb +10 -0
  80. data/app/components/arclight/index_metadata_field_component.html.erb +16 -0
  81. data/app/components/arclight/index_metadata_field_component.rb +20 -0
  82. data/app/components/arclight/masthead_component.html.erb +17 -0
  83. data/app/components/arclight/masthead_component.rb +10 -0
  84. data/app/components/arclight/metadata_section_component.html.erb +13 -0
  85. data/app/components/arclight/metadata_section_component.rb +22 -0
  86. data/app/components/arclight/oembed_viewer_component.html.erb +5 -0
  87. data/app/components/arclight/oembed_viewer_component.rb +16 -0
  88. data/app/components/arclight/online_content_filter_component.html.erb +15 -0
  89. data/app/components/arclight/online_content_filter_component.rb +17 -0
  90. data/app/components/arclight/online_status_indicator_component.rb +19 -0
  91. data/app/components/arclight/repository_breadcrumb_component.html.erb +10 -0
  92. data/app/components/arclight/repository_breadcrumb_component.rb +17 -0
  93. data/app/components/arclight/repository_location_component.html.erb +20 -0
  94. data/app/components/arclight/repository_location_component.rb +10 -0
  95. data/app/components/arclight/search_bar_component.html.erb +27 -0
  96. data/app/components/arclight/search_bar_component.rb +32 -0
  97. data/app/components/arclight/search_result_breadcrumbs_component.html.erb +6 -0
  98. data/app/components/arclight/search_result_breadcrumbs_component.rb +37 -0
  99. data/app/components/arclight/search_result_component.html.erb +20 -0
  100. data/app/components/arclight/search_result_component.rb +18 -0
  101. data/app/components/arclight/search_result_title_component.html.erb +15 -0
  102. data/app/components/arclight/search_result_title_component.rb +15 -0
  103. data/app/components/arclight/sidebar_component.html.erb +9 -0
  104. data/app/components/arclight/sidebar_component.rb +19 -0
  105. data/app/components/arclight/upper_metadata_layout_component.rb +10 -0
  106. data/app/components/blacklight/icons/bookmark_component.rb +12 -0
  107. data/app/components/blacklight/icons/collection_component.rb +14 -0
  108. data/app/components/blacklight/icons/compact_component.rb +12 -0
  109. data/app/components/blacklight/icons/container_component.rb +14 -0
  110. data/app/components/blacklight/icons/ead_component.rb +12 -0
  111. data/app/components/blacklight/icons/file_component.rb +14 -0
  112. data/app/components/blacklight/icons/folder_component.rb +12 -0
  113. data/app/components/blacklight/icons/online_component.rb +15 -0
  114. data/app/components/blacklight/icons/pdf_component.rb +12 -0
  115. data/app/components/blacklight/icons/repository_component.rb +12 -0
  116. data/app/controllers/arclight/repositories_controller.rb +4 -4
  117. data/app/helpers/arclight/ead_format_helpers.rb +309 -0
  118. data/app/helpers/arclight/field_config_helpers.rb +26 -0
  119. data/app/helpers/arclight_helper.rb +55 -120
  120. data/app/models/arclight/document_downloads.rb +122 -0
  121. data/app/models/arclight/parent.rb +9 -9
  122. data/app/models/arclight/parents.rb +9 -4
  123. data/app/models/arclight/requests/aeon_external_request.rb +42 -0
  124. data/app/models/arclight/requests/aeon_web_ead.rb +52 -0
  125. data/app/models/arclight/requests/google_form.rb +8 -3
  126. data/app/models/concerns/arclight/catalog.rb +33 -11
  127. data/app/models/concerns/arclight/search_behavior.rb +22 -21
  128. data/app/models/concerns/arclight/solr_document.rb +88 -59
  129. data/app/presenters/arclight/show_presenter.rb +34 -7
  130. data/app/views/arclight/_requests.html.erb +7 -0
  131. data/app/views/arclight/repositories/_repository.html.erb +22 -41
  132. data/app/views/arclight/repositories/index.html.erb +5 -0
  133. data/app/views/arclight/repositories/show.html.erb +7 -8
  134. data/app/views/arclight/requests/_aeon_external_request_endpoint.html.erb +8 -0
  135. data/app/views/arclight/requests/_aeon_web_ead.html.erb +6 -0
  136. data/app/views/arclight/requests/_google_form.html.erb +4 -5
  137. data/app/views/catalog/_document_list.html.erb +8 -0
  138. data/app/views/catalog/_group.html.erb +4 -0
  139. data/app/views/catalog/_group_toggle.html.erb +10 -0
  140. data/app/views/catalog/_search_results_header.html.erb +3 -0
  141. data/app/views/catalog/hierarchy.html.erb +19 -0
  142. data/app/views/catalog/index.html.erb +16 -7
  143. data/app/views/shared/_breadcrumbs.html.erb +3 -15
  144. data/app/views/shared/_main_menu_links.html.erb +1 -1
  145. data/arclight.gemspec +18 -17
  146. data/config/breadcrumbs.rb +24 -0
  147. data/config/i18n-tasks.yml +11 -9
  148. data/config/importmap.rb +3 -0
  149. data/config/locales/arclight.en.yml +68 -34
  150. data/config/routes.rb +1 -1
  151. data/docker-compose.yml +16 -0
  152. data/lib/arclight/digital_object.rb +2 -1
  153. data/lib/arclight/engine.rb +22 -31
  154. data/lib/arclight/exceptions.rb +1 -0
  155. data/lib/arclight/hash_absolute_xpath.rb +13 -8
  156. data/lib/arclight/level_label.rb +46 -0
  157. data/lib/arclight/normalized_date.rb +5 -10
  158. data/lib/arclight/normalized_id.rb +7 -2
  159. data/lib/arclight/normalized_title.rb +3 -0
  160. data/lib/arclight/repository.rb +70 -28
  161. data/lib/arclight/routes/hierarchy.rb +19 -0
  162. data/lib/arclight/routes.rb +8 -0
  163. data/lib/arclight/traject/ead2_component_config.rb +335 -0
  164. data/lib/arclight/traject/ead2_config.rb +172 -331
  165. data/lib/arclight/traject/nokogiri_namespaceless_reader.rb +22 -0
  166. data/lib/arclight/version.rb +1 -1
  167. data/lib/arclight/year_range.rb +13 -4
  168. data/lib/arclight.rb +6 -1
  169. data/lib/generators/arclight/install_generator.rb +100 -10
  170. data/lib/generators/arclight/templates/arclight.scss +6 -3
  171. data/lib/generators/arclight/templates/catalog_controller.rb +237 -179
  172. data/lib/generators/arclight/templates/config/downloads.yml +12 -0
  173. data/lib/generators/arclight/templates/config/locales/arclight.en.yml +61 -0
  174. data/lib/generators/arclight/templates/config/repositories.yml +42 -31
  175. data/lib/generators/arclight/update_generator.rb +1 -1
  176. data/lib/tasks/index.rake +25 -30
  177. data/package.json +15 -9
  178. data/solr/conf/schema.xml +97 -328
  179. data/solr/conf/solrconfig.xml +99 -164
  180. data/tasks/arclight.rake +18 -9
  181. data/template.rb +6 -7
  182. metadata +188 -129
  183. data/.travis.yml +0 -28
  184. data/app/assets/javascripts/arclight/collection_context.js +0 -18
  185. data/app/assets/javascripts/arclight/collection_navigation.js +0 -117
  186. data/app/assets/javascripts/arclight/collection_scrollspy.js +0 -6
  187. data/app/assets/javascripts/arclight/component_ancestors.js +0 -56
  188. data/app/assets/javascripts/arclight/oembed_viewer.js +0 -46
  189. data/app/assets/javascripts/arclight/search_results.js +0 -15
  190. data/app/assets/javascripts/arclight/truncator.js.erb +0 -23
  191. data/app/assets/stylesheets/arclight/bootstrap_overrides.scss +0 -3
  192. data/app/assets/stylesheets/arclight/modules/sidebar.scss +0 -21
  193. data/app/controllers/concerns/arclight/field_config_helpers.rb +0 -86
  194. data/app/factories/blacklight_field_configuration_factory.rb +0 -29
  195. data/app/views/arclight/repositories/_in_person_repository.html.erb +0 -19
  196. data/app/views/arclight/viewers/_oembed.html.erb +0 -7
  197. data/app/views/catalog/_arclight_document_index_header.html.erb +0 -13
  198. data/app/views/catalog/_arclight_document_index_header_online_contents_default.html.erb +0 -0
  199. data/app/views/catalog/_arclight_index_compact_default.html.erb +0 -15
  200. data/app/views/catalog/_arclight_online_content_indicator.html.erb +0 -5
  201. data/app/views/catalog/_arclight_rangelimit.html.erb +0 -24
  202. data/app/views/catalog/_arclight_viewer_default.html.erb +0 -1
  203. data/app/views/catalog/_collection_contents.html.erb +0 -12
  204. data/app/views/catalog/_collection_count.html.erb +0 -7
  205. data/app/views/catalog/_collection_downloads.html.erb +0 -15
  206. data/app/views/catalog/_collection_online_contents.html.erb +0 -17
  207. data/app/views/catalog/_collection_overview.html.erb +0 -7
  208. data/app/views/catalog/_component_contents.html.erb +0 -16
  209. data/app/views/catalog/_component_overview.html.erb +0 -40
  210. data/app/views/catalog/_context_card.html.erb +0 -27
  211. data/app/views/catalog/_context_sidebar.html.erb +0 -8
  212. data/app/views/catalog/_custom_metadata.html.erb +0 -16
  213. data/app/views/catalog/_home.html.erb +0 -1
  214. data/app/views/catalog/_index_breadcrumb_default.html.erb +0 -3
  215. data/app/views/catalog/_index_default.html.erb +0 -17
  216. data/app/views/catalog/_index_header.html.erb +0 -7
  217. data/app/views/catalog/_index_header_hierarchy_default.html.erb +0 -42
  218. data/app/views/catalog/_index_header_online_contents_default.html.erb +0 -1
  219. data/app/views/catalog/_index_hierarchy_default.html.erb +0 -28
  220. data/app/views/catalog/_index_online_contents_default.html.erb +0 -6
  221. data/app/views/catalog/_results_histogram.html.erb +0 -15
  222. data/app/views/catalog/_search_results.html.erb +0 -31
  223. data/app/views/catalog/_show_breadcrumbs_default.html.erb +0 -21
  224. data/app/views/catalog/_show_collection.html.erb +0 -48
  225. data/app/views/catalog/_show_component_sidebar.html.erb +0 -12
  226. data/app/views/catalog/_show_default.html.erb +0 -42
  227. data/app/views/catalog/_show_sidebar.html.erb +0 -22
  228. data/app/views/catalog/_show_upper_metadata_collection.html.erb +0 -1
  229. data/app/views/catalog/_show_upper_metadata_default.html.erb +0 -14
  230. data/app/views/layouts/catalog_result.html.erb +0 -7
  231. data/app/views/shared/_context_sidebar.html.erb +0 -8
  232. data/app/views/shared/_header_navbar.html.erb +0 -65
  233. data/lib/arclight/custom_component.rb +0 -99
  234. data/lib/arclight/custom_document.rb +0 -93
  235. data/lib/arclight/indexer.rb +0 -9
  236. data/lib/arclight/shared_indexing_behavior.rb +0 -97
  237. data/lib/arclight/shared_terminology_behavior.rb +0 -65
  238. data/lib/arclight/solr_ead_indexer_ext.rb +0 -155
  239. data/lib/arclight/viewer.rb +0 -45
  240. data/lib/arclight/viewers/oembed.rb +0 -56
  241. data/lib/generators/arclight/templates/arclight.js +0 -2
  242. data/solr/conf/scripts.conf +0 -24
  243. data/vendor/assets/javascripts/responsiveTruncator.js +0 -69
  244. data/vendor/assets/javascripts/stickyfill.js +0 -480
  245. /data/app/assets/images/{blacklight β†’ arclight}/logo.png +0 -0
  246. /data/{app/views/catalog/_arclight_document_index_header_hierarchy_default.html.erb β†’ config/repositories.yml} +0 -0
data/.rubocop_todo.yml CHANGED
@@ -1,182 +1,81 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-08-21 15:42:57 -0600 using RuboCop version 0.74.0.
3
+ # on 2023-02-27 17:35:23 UTC using RuboCop version 1.46.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 1
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: EnabledMethods.
12
- Capybara/FeatureMethods:
13
- Exclude:
14
- - 'spec/features/compact_search_results_spec.rb'
15
-
16
- # Offense count: 1
17
- # Cop supports --auto-correct.
18
- # Configuration parameters: TreatCommentsAsGroupSeparators, Include.
19
- # Include: **/*.gemspec
20
- Gemspec/OrderedDependencies:
9
+ # Offense count: 10
10
+ # Configuration parameters: EnforcedStyle, AllowedGems, Include.
11
+ # SupportedStyles: Gemfile, gems.rb, gemspec
12
+ # Include: **/*.gemspec, **/Gemfile, **/gems.rb
13
+ Gemspec/DevelopmentDependencies:
21
14
  Exclude:
22
15
  - 'arclight.gemspec'
23
16
 
24
- # Offense count: 3
25
- # Cop supports --auto-correct.
26
- # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
27
- # SupportedHashRocketStyles: key, separator, table
28
- # SupportedColonStyles: key, separator, table
29
- # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
30
- Layout/AlignHash:
31
- Exclude:
32
- - 'lib/arclight/solr_ead_indexer_ext.rb'
33
-
34
- # Offense count: 29
35
- # Cop supports --auto-correct.
36
- Layout/EmptyLineAfterGuardClause:
37
- Exclude:
38
- - 'app/factories/blacklight_field_configuration_factory.rb'
39
- - 'app/helpers/arclight_helper.rb'
40
- - 'app/models/arclight/parent.rb'
41
- - 'app/models/concerns/arclight/catalog.rb'
42
- - 'app/models/concerns/arclight/solr_document.rb'
43
- - 'lib/arclight/normalized_date.rb'
44
- - 'lib/arclight/normalized_id.rb'
45
- - 'lib/arclight/normalized_title.rb'
46
- - 'lib/arclight/repository.rb'
47
- - 'lib/arclight/shared_indexing_behavior.rb'
48
- - 'lib/arclight/viewers/oembed.rb'
49
- - 'lib/arclight/year_range.rb'
50
- - 'lib/tasks/index.rake'
51
- - 'tasks/arclight.rake'
52
-
53
- # Offense count: 1
54
- # Cop supports --auto-correct.
55
- # Configuration parameters: AllowInHeredoc.
56
- Layout/TrailingWhitespace:
57
- Exclude:
58
- - 'lib/tasks/index.rake'
59
-
60
- # Offense count: 1
61
- Lint/AmbiguousBlockAssociation:
62
- Exclude:
63
- - 'lib/arclight/traject/ead2_config.rb'
64
-
65
- # Offense count: 1
66
- # Configuration parameters: IgnoreImplicitReferences.
67
- Lint/ShadowedArgument:
68
- Exclude:
69
- - 'lib/arclight/solr_ead_indexer_ext.rb'
70
-
71
- # Offense count: 1
72
- # Cop supports --auto-correct.
73
- Lint/UnneededCopDisableDirective:
74
- Exclude:
75
- - 'lib/arclight/shared_indexing_behavior.rb'
76
-
77
- # Offense count: 1
78
- # Configuration parameters: CheckForMethodsWithNoSideEffects.
79
- Lint/Void:
80
- Exclude:
81
- - 'lib/arclight/year_range.rb'
82
-
83
17
  # Offense count: 1
18
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
84
19
  Metrics/AbcSize:
85
- Max: 16
20
+ Max: 19
86
21
 
87
- # Offense count: 70
88
- # Configuration parameters: CountComments, ExcludedMethods.
89
- # ExcludedMethods: refine
90
- Metrics/BlockLength:
91
- Max: 278
92
- Exclude:
93
- - 'spec/features/traject/ead2_indexing_spec.rb'
94
-
95
22
  # Offense count: 1
96
- # Configuration parameters: CountComments, ExcludedMethods.
23
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
24
+ Metrics/CyclomaticComplexity:
25
+ Max: 8
26
+
27
+ # Offense count: 3
28
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
97
29
  Metrics/MethodLength:
98
30
  Max: 11
99
31
 
100
32
  # Offense count: 2
101
- # Configuration parameters: CountComments.
102
- Metrics/ModuleLength:
103
- Max: 113
104
-
105
- # Offense count: 1
106
- # Configuration parameters: Blacklist.
107
- # Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
108
- Naming/HeredocDelimiterNaming:
109
- Exclude:
110
- - 'spec/features/autocomplete_spec.rb'
33
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
34
+ Metrics/PerceivedComplexity:
35
+ Max: 9
111
36
 
112
- # Offense count: 4
113
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
114
- # AllowedNames: io, id, to, by, on, in, at, ip, db
115
- Naming/UncommunicativeMethodParamName:
116
- Exclude:
117
- - 'lib/arclight/shared_terminology_behavior.rb'
118
-
119
- # Offense count: 97
120
- # Configuration parameters: Prefixes.
37
+ # Offense count: 60
38
+ # Configuration parameters: Prefixes, AllowedPatterns.
121
39
  # Prefixes: when, with, without
122
40
  RSpec/ContextWording:
123
41
  Enabled: false
124
42
 
125
43
  # Offense count: 1
126
- # Cop supports --auto-correct.
44
+ # This cop supports unsafe autocorrection (--autocorrect-all).
127
45
  # Configuration parameters: SkipBlocks, EnforcedStyle.
128
46
  # SupportedStyles: described_class, explicit
129
47
  RSpec/DescribedClass:
130
48
  Exclude:
131
49
  - 'spec/presenters/arclight/show_presenter_spec.rb'
132
50
 
133
- # Offense count: 58
134
- # Cop supports --auto-correct.
135
- RSpec/EmptyLineAfterExampleGroup:
136
- Enabled: false
137
-
138
- # Offense count: 8
139
- # Cop supports --auto-correct.
140
- RSpec/EmptyLineAfterHook:
141
- Exclude:
142
- - 'spec/features/collection_page_spec.rb'
143
- - 'spec/features/home_page_spec.rb'
144
- - 'spec/features/many_component_ead_spec.rb'
145
- - 'spec/features/search_results_spec.rb'
146
- - 'spec/helpers/arclight_helper_spec.rb'
147
- - 'spec/views/_collection_count.html.erb_spec.rb'
148
- - 'spec/views/repositories/index.html.erb_spec.rb'
149
-
150
- # Offense count: 49
151
- # Configuration parameters: Max.
51
+ # Offense count: 60
52
+ # Configuration parameters: CountAsOne.
152
53
  RSpec/ExampleLength:
153
- Enabled: false
154
-
155
- # Offense count: 3
156
- RSpec/ExpectInHook:
157
- Exclude:
158
- - 'spec/helpers/arclight_helper_spec.rb'
159
- - 'spec/lib/arclight/indexer_spec.rb'
160
- - 'spec/presenters/arclight/index_presenter_spec.rb'
161
-
162
- # Offense count: 1
163
- # Configuration parameters: CustomTransform, IgnoreMethods.
164
- RSpec/FilePath:
165
- Exclude:
166
- - 'spec/lib/arclight/viewers/oembed_spec.rb'
54
+ Max: 49
167
55
 
168
- # Offense count: 108
169
- # Configuration parameters: AggregateFailuresByDefault.
56
+ # Offense count: 112
170
57
  RSpec/MultipleExpectations:
171
- Max: 28
58
+ Max: 22
59
+
60
+ # Offense count: 37
61
+ # Configuration parameters: AllowSubject.
62
+ RSpec/MultipleMemoizedHelpers:
63
+ Max: 10
172
64
 
173
65
  # Offense count: 22
66
+ # Configuration parameters: AllowedGroups.
174
67
  RSpec/NestedGroups:
175
- Max: 4
68
+ Max: 5
69
+
70
+ # Offense count: 2
71
+ RSpec/PendingWithoutReason:
72
+ Exclude:
73
+ - 'spec/features/document_tools_spec.rb'
74
+ - 'spec/features/google_form_request_spec.rb'
176
75
 
177
76
  # Offense count: 5
178
- # Cop supports --auto-correct.
179
- # Configuration parameters: Strict, EnforcedStyle.
77
+ # This cop supports unsafe autocorrection (--autocorrect-all).
78
+ # Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
180
79
  # SupportedStyles: inflected, explicit
181
80
  RSpec/PredicateMatcher:
182
81
  Exclude:
@@ -184,76 +83,40 @@ RSpec/PredicateMatcher:
184
83
  - 'spec/lib/arclight/year_range_spec.rb'
185
84
 
186
85
  # Offense count: 1
187
- RSpec/SubjectStub:
188
- Exclude:
189
- - 'spec/lib/arclight/indexer_spec.rb'
190
-
191
- # Offense count: 1
192
- Security/Open:
86
+ # This cop supports unsafe autocorrection (--autocorrect-all).
87
+ # Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
88
+ Rails/Blank:
193
89
  Exclude:
194
- - 'lib/tasks/index.rake'
195
-
196
- # Offense count: 1
197
- # Cop supports --auto-correct.
198
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners.
199
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
200
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
201
- # FunctionalMethods: let, let!, subject, watch
202
- # IgnoredMethods: lambda, proc, it
203
- Style/BlockDelimiters:
204
- Exclude:
205
- - 'lib/tasks/index.rake'
206
-
207
- # Offense count: 2
208
- Style/CommentedKeyword:
209
- Exclude:
210
- - 'lib/arclight/shared_terminology_behavior.rb'
211
- - 'lib/arclight/year_range.rb'
90
+ - 'lib/arclight/repository.rb'
212
91
 
213
92
  # Offense count: 1
214
- Style/Documentation:
93
+ # Configuration parameters: Include.
94
+ # Include: app/helpers/**/*.rb
95
+ Rails/HelperInstanceVariable:
215
96
  Exclude:
216
- - 'spec/**/*'
217
- - 'test/**/*'
218
- - 'lib/arclight.rb'
97
+ - 'app/helpers/arclight_helper.rb'
219
98
 
220
99
  # Offense count: 1
221
- # Cop supports --auto-correct.
222
- Style/Encoding:
100
+ Rails/OutputSafety:
223
101
  Exclude:
224
- - 'arclight.gemspec'
102
+ - 'app/helpers/arclight/field_config_helpers.rb'
225
103
 
226
- # Offense count: 3
227
- # Cop supports --auto-correct.
228
- Style/ExpandPathArguments:
104
+ # Offense count: 6
105
+ # This cop supports unsafe autocorrection (--autocorrect-all).
106
+ # Configuration parameters: Include.
107
+ # Include: **/Rakefile, **/*.rake
108
+ Rails/RakeEnvironment:
229
109
  Exclude:
230
- - 'arclight.gemspec'
231
- - 'lib/generators/arclight/install_generator.rb'
232
- - 'lib/generators/arclight/update_generator.rb'
233
-
234
- # Offense count: 1
235
- # Cop supports --auto-correct.
236
- Style/IfUnlessModifier:
237
- Exclude:
238
- - 'app/models/concerns/arclight/search_behavior.rb'
110
+ - 'lib/tasks/index.rake'
111
+ - 'tasks/arclight.rake'
239
112
 
240
113
  # Offense count: 1
241
- # Cop supports --auto-correct.
242
- Style/MinMax:
114
+ Security/Open:
243
115
  Exclude:
244
- - 'lib/arclight/year_range.rb'
116
+ - 'lib/tasks/index.rake'
245
117
 
246
118
  # Offense count: 1
247
- # Cop supports --auto-correct.
248
- # Configuration parameters: EnforcedStyle.
249
- # SupportedStyles: implicit, explicit
250
- Style/RescueStandardError:
119
+ # This cop supports safe autocorrection (--autocorrect).
120
+ Style/RedundantConstantBase:
251
121
  Exclude:
252
- - 'lib/arclight/shared_indexing_behavior.rb'
253
-
254
- # Offense count: 457
255
- # Cop supports --auto-correct.
256
- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
257
- # URISchemes: http, https
258
- Metrics/LineLength:
259
- Max: 153
122
+ - 'spec/spec_helper.rb'
data/.solr_wrapper CHANGED
@@ -1,5 +1,6 @@
1
1
  # Place any default configuration for solr_wrapper here
2
2
  # port: 8983
3
3
  collection:
4
- dir: solr/conf/
4
+ dir: solr/conf
5
5
  name: blacklight-core
6
+ version: 9.7.0
data/CONTRIBUTING.md CHANGED
@@ -1,13 +1,13 @@
1
1
  ## Contributing
2
2
 
3
- ArcLight is a collaborative open source project where contributions are welcome. This contributing guide is borrowed in part from the [GeoBlacklight Contributing Guide](https://github.com/geoblacklight/geoblacklight/blob/master/CONTRIBUTING.md).
3
+ ArcLight is a collaborative open source project where contributions are welcome. This contributing guide is borrowed in part from the [GeoBlacklight Contributing Guide](https://github.com/geoblacklight/geoblacklight/blob/main/CONTRIBUTING.md).
4
4
 
5
5
  ### Reporting issues
6
6
 
7
- Did you find a bug in ArcLight or interested in a new feature? Please make sure to add an issue for it in the [issue tracker](https://github.com/sul-dlss/arclight/issues) as follows:
7
+ Did you find a bug in ArcLight or interested in a new feature? Please make sure to add an issue for it in the [issue tracker](https://github.com/projectblacklight/arclight/issues) as follows:
8
8
 
9
9
  - Make sure you have a [GitHub account](https://github.com/signup/free)
10
- - Submit a new [Github issue](https://github.com/sul-dlss/arclight/issues) by:
10
+ - Submit a new [Github issue](https://github.com/projectblacklight/arclight/issues) by:
11
11
  - Clearly describing the issue
12
12
  - Provide a descriptive summary
13
13
  - Explain the expected behavior
@@ -20,7 +20,7 @@ ArcLight also welcomes code and documentation contributions. We follow the [pull
20
20
 
21
21
  #### Pull request overview
22
22
 
23
- 1. Fork it ( http://github.com/sul-dlss/arclight/fork )
23
+ 1. Fork it ( http://github.com/projectblacklight/arclight/fork )
24
24
  2. Create your feature branch (`git checkout -b my-new-feature`)
25
25
  3. Commit your changes (`git commit -am 'Add some feature'`)
26
26
  4. Push to the branch (`git push origin my-new-feature`)
@@ -40,4 +40,4 @@ Here are some general rules to follow for merging pull requests.
40
40
  - If you are uncertain, bring other contributors into the conversation by creating a comment that includes their `@username`.
41
41
  - If you like the pull request, but want others to chime in, create a +1 comment and tag a user.
42
42
 
43
- If you wish to ask questions or participate further, see our general [README](https://github.com/sul-dlss/arclight/blob/master/README.md).
43
+ If you wish to ask questions or participate further, see our general [README](https://github.com/projectblacklight/arclight/blob/main/README.md).
data/CONTRIBUTORS.md ADDED
@@ -0,0 +1,79 @@
1
+ ## Contributors ✨
2
+
3
+ ArcLight is a cross-institutional project led by Stanford University, with contributions from Duke University, Georgia Tech, Indiana University, LYRASIS, the National Library of Medicine, University of Michigan, Princeton University, and Rockefeller Archive Center.
4
+
5
+ Individual project contributors include ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
6
+
7
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
8
+ <!-- prettier-ignore-start -->
9
+ <!-- markdownlint-disable -->
10
+ <table>
11
+ <tr>
12
+ <td align="center"><a href="https://github.com/seanaery"><img src="https://avatars3.githubusercontent.com/u/3933756?v=4" width="125px;" alt="Sean Aery"/><br /><sub><b>Sean Aery</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=seanaery" title="Code">πŸ’»</a></td>
13
+ <td align="center"><a href="http://hillelarnold.com"><img src="https://avatars0.githubusercontent.com/u/607621?v=4" width="125px;" alt="Hillel Arnold"/><br /><sub><b>Hillel Arnold</b></sub></a><br /><a href="#analysis-helrond" title="Functional requirements and related research">πŸ”¬</a> <a href="#userTesting-helrond" title="User Testing">πŸ““</a></td>
14
+ <td align="center"><a href="http://cbeer.info"><img src="https://avatars1.githubusercontent.com/u/111218?v=4" width="125px;" alt="Chris Beer"/><br /><sub><b>Chris Beer</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=cbeer" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/commits?author=cbeer" title="Documentation">πŸ“–</a></td>
15
+ <td align="center"><a href="http://leaannbradford.com"><img src="https://avatars3.githubusercontent.com/u/18175797?v=4" width="125px;" alt="Lea Ann Bradford"/><br /><sub><b>Lea Ann Bradford</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=labradford" title="Code">πŸ’»</a></td>
16
+ <td align="center"><a href="http://actspatial.com"><img src="https://avatars0.githubusercontent.com/u/9905193?v=4" width="125px;" alt="Christina Chortaria"/><br /><sub><b>Christina Chortaria</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=christinach" title="Code">πŸ’»</a></td>
17
+ </tr>
18
+ <tr>
19
+ <td align="center"><a href="https://github.com/mark-cooper"><img src="https://avatars1.githubusercontent.com/u/551470?v=4" width="125px;" alt="Mark Cooper"/><br /><sub><b>Mark Cooper</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=mark-cooper" title="Code">πŸ’»</a> <a href="#plugin-mark-cooper" title="Plugin/utility libraries">πŸ”Œ</a></td>
20
+ <td align="center"><a href="http://knittles.ticklefish.org/"><img src="https://avatars3.githubusercontent.com/u/856924?v=4" width="125px;" alt="EsmΓ© Cowles"/><br /><sub><b>EsmΓ© Cowles</b></sub></a><br /><a href="#business-escowles" title="Business development">πŸ’Ό</a> <a href="#analysis-escowles" title="Functional requirements and related research">πŸ”¬</a></td>
21
+ <td align="center"><a href="https://github.com/tomcramer"><img src="https://avatars3.githubusercontent.com/u/1054837?v=4" width="125px;" alt="Tom Cramer"/><br /><sub><b>Tom Cramer</b></sub></a><br /><a href="#business-tomcramer" title="Business development">πŸ’Ό</a></td>
22
+ <td align="center"><a href="https://github.com/mdalmau"><img src="https://avatars0.githubusercontent.com/u/573273?v=4" width="125px;" alt="Michelle Dalmau"/><br /><sub><b>Michelle Dalmau</b></sub></a><br /><a href="#business-mdalmau" title="Business development">πŸ’Ό</a></td>
23
+ <td align="center"><a href="http://robotlibrarian.billdueber.com/"><img src="https://avatars0.githubusercontent.com/u/114006?v=4" width="125px;" alt="Bill Dueber"/><br /><sub><b>Bill Dueber</b></sub></a><br /><a href="#analysis-billdueber" title="Functional requirements and related research">πŸ”¬</a> <a href="https://github.com/projectblacklight/arclight/commits?author=billdueber" title="Code">πŸ’»</a></td>
24
+ </tr>
25
+ <tr>
26
+ <td align="center"><a href="https://github.com/jwd"><img src="https://avatars1.githubusercontent.com/u/842343?v=4" width="125px;" alt="Jon Dunn"/><br /><sub><b>Jon Dunn</b></sub></a><br /><a href="#business-jwd" title="Business development">πŸ’Ό</a></td>
27
+ <td align="center"><a href="https://github.com/eckardm"><img src="https://avatars1.githubusercontent.com/u/7072443?v=4" width="125px;" alt="Max Eckard"/><br /><sub><b>Max Eckard</b></sub></a><br /><a href="#analysis-eckardm" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-eckardm" title="Product owner">πŸ—Ί</a> <a href="#userTesting-eckardm" title="User Testing">πŸ““</a></td>
28
+ <td align="center"><a href="https://github.com/jrgriffiniii"><img src="https://avatars0.githubusercontent.com/u/1443986?v=4" width="125px;" alt="James R. Griffin III"/><br /><sub><b>James R. Griffin III</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=jrgriffiniii" title="Code">πŸ’»</a></td>
29
+ <td align="center"><a href="https://github.com/p-galligan"><img src="https://avatars2.githubusercontent.com/u/2585069?v=4" width="125px;" alt="Patrick Galligan"/><br /><sub><b>Patrick Galligan</b></sub></a><br /><a href="#userTesting-p-galligan" title="User Testing">πŸ““</a></td>
30
+ <td align="center"><a href="http://ggeisler.com"><img src="https://avatars1.githubusercontent.com/u/101482?v=4" width="125px;" alt="Gary Geisler"/><br /><sub><b>Gary Geisler</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=ggeisler" title="Code">πŸ’»</a> <a href="#design-ggeisler" title="Design">🎨</a></td>
31
+ </tr>
32
+ <tr>
33
+ <td align="center"><a href="https://github.com/bonniegee"><img src="https://avatars3.githubusercontent.com/u/8737364?v=4" width="125px;" alt="Bonnie Gordon"/><br /><sub><b>Bonnie Gordon</b></sub></a><br /><a href="#userTesting-bonniegee" title="User Testing">πŸ““</a></td>
34
+ <td align="center"><a href="https://github.com/mswendyh"><img src="https://avatars1.githubusercontent.com/u/7033667?v=4" width="125px;" alt="Wendy Hagenmaier"/><br /><sub><b>Wendy Hagenmaier</b></sub></a><br /><a href="#analysis-mswendyh" title="Functional requirements and related research">πŸ”¬</a></td>
35
+ <td align="center"><img src="http://gravatar.com/avatar/8b53dcb509d4b1fe8dd74da6a94395ef.jpg?d=retro" width="125px;" alt="Jim Halliday"/><br /><sub><b>Jim Halliday</b></sub><br /><a href="#business" title="Business development">πŸ’Ό</a></td>
36
+ <td align="center"><a href="https://github.com/jlhardes"><img src="https://avatars1.githubusercontent.com/u/3440166?v=4" width="125px;" alt="Julie Hardesty"/><br /><sub><b>Julie Hardesty</b></sub></a><br /><a href="#analysis-jlhardes" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-jlhardes" title="Product owner">πŸ—Ί</a></td>
37
+ <td align="center"><a href="http://stanford.edu/~drh"><img src="https://avatars3.githubusercontent.com/u/1861171?v=4" width="125px;" alt="Darren Hardy"/><br /><sub><b>Darren Hardy</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=drh-stanford" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/commits?author=drh-stanford" title="Documentation">πŸ“–</a></td>
38
+ </tr>
39
+ <tr>
40
+ <td align="center"><a href="https://github.com/drhardy"><img src="https://avatars3.githubusercontent.com/u/25580222?v=4" width="125px;" alt="Darren Hardy"/><br /><sub><b>Darren Hardy</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=drhardy" title="Code">πŸ’»</a></td>
41
+ <td align="center"><a href="https://github.com/regineheberlein"><img src="https://avatars1.githubusercontent.com/u/5940563?v=4" width="125px;" alt="Regine Heberlein"/><br /><sub><b>Regine Heberlein</b></sub></a><br /><a href="#analysis-regineheberlein" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-regineheberlein" title="Product owner">πŸ—Ί</a></td>
42
+ <td align="center"><a href="https://github.com/noahgh221"><img src="https://avatars3.githubusercontent.com/u/7328518?v=4" width="125px;" alt="Noah Huffman"/><br /><sub><b>Noah Huffman</b></sub></a><br /><a href="#analysis-noahgh221" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-noahgh221" title="Product owner">πŸ—Ί</a></td>
43
+ <td align="center"><a href="https://github.com/njaffer"><img src="https://avatars0.githubusercontent.com/u/12487929?v=4" width="125px;" alt="Nabeela Jaffer"/><br /><sub><b>Nabeela Jaffer</b></sub></a><br /><a href="#analysis-njaffer" title="Functional requirements and related research">πŸ”¬</a> <a href="#business-njaffer" title="Business development">πŸ’Ό</a></td>
44
+ <td align="center"><a href="https://github.com/jkeck"><img src="https://avatars0.githubusercontent.com/u/96776?v=4" width="125px;" alt="Jessie Keck"/><br /><sub><b>Jessie Keck</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=jkeck" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/commits?author=jkeck" title="Documentation">πŸ“–</a></td>
45
+ </tr>
46
+ <tr>
47
+ <td align="center"><a href="https://github.com/gordonleacock"><img src="https://avatars3.githubusercontent.com/u/12927191?v=4" width="125px;" alt="Gordon Leacock"/><br /><sub><b>Gordon Leacock</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=gordonleacock" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/commits?author=gordonleacock" title="Documentation">πŸ“–</a></td>
48
+ <td align="center"><a href="https://matienzo.org/"><img src="https://avatars0.githubusercontent.com/u/73732?v=4" width="125px;" alt="MarΓ­a A. Matienzo"/><br /><sub><b>MarΓ­a A. Matienzo</b></sub></a><br /><a href="#projectManagement-anarchivist" title="Project Management">πŸ“†</a> <a href="#business-anarchivist" title="Business development">πŸ’Ό</a> <a href="#analysis-anarchivist" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-anarchivist" title="Product owner">πŸ—Ί</a></td>
49
+ <td align="center"><a href="https://github.com/archivistsarah"><img src="https://avatars0.githubusercontent.com/u/25084902?v=4" width="125px;" alt="Sarah Newhouse"/><br /><sub><b>Sarah Newhouse</b></sub></a><br /><a href="#analysis-archivistsarah" title="Functional requirements and related research">πŸ”¬</a></td>
50
+ <td align="center"><a href="https://github.com/grepcats"><img src="https://avatars0.githubusercontent.com/u/7513448?v=4" width="125px;" alt="Kayla Ondracek"/><br /><sub><b>Kayla Ondracek</b></sub></a><br /><a href="#analysis-grepcats" title="Functional requirements and related research">πŸ”¬</a></td>
51
+ <td align="center"><a href="https://github.com/djpillen"><img src="https://avatars3.githubusercontent.com/u/11635158?v=4" width="125px;" alt="Dallas Pillen"/><br /><sub><b>Dallas Pillen</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=djpillen" title="Code">πŸ’»</a> <a href="#userTesting-djpillen" title="User Testing">πŸ““</a></td>
52
+ </tr>
53
+ <tr>
54
+ <td align="center"><a href="https://github.com/cmkpowell"><img src="https://avatars1.githubusercontent.com/u/16540397?v=4" width="125px;" alt="Chris Powell"/><br /><sub><b>Chris Powell</b></sub></a><br /><a href="#analysis-cmkpowell" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-cmkpowell" title="Product owner">πŸ—Ί</a></td>
55
+ <td align="center"><a href="https://www.jack-reed.com/"><img src="https://avatars0.githubusercontent.com/u/1656824?v=4" width="125px;" alt="Jack Reed"/><br /><sub><b>Jack Reed</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=mejackreed" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/commits?author=mejackreed" title="Documentation">πŸ“–</a></td>
56
+ <td align="center"><a href="https://github.com/John-Rees"><img src="https://avatars1.githubusercontent.com/u/29233549?v=4" width="125px;" alt="John Rees"/><br /><sub><b>John Rees</b></sub></a><br /><a href="#analysis-John-Rees" title="Functional requirements and related research">πŸ”¬</a></td>
57
+ <td align="center"><a href="https://github.com/joshschneider"><img src="https://avatars3.githubusercontent.com/u/12468197?v=4" width="125px;" alt="Josh Schneider"/><br /><sub><b>Josh Schneider</b></sub></a><br /><a href="#analysis-joshschneider" title="Functional requirements and related research">πŸ”¬</a> <a href="#productOwner-joshschneider" title="Product owner">πŸ—Ί</a></td>
58
+ <td align="center"><a href="https://github.com/willsexton"><img src="https://avatars2.githubusercontent.com/u/1359320?v=4" width="125px;" alt="Will Sexton"/><br /><sub><b>Will Sexton</b></sub></a><br /><a href="#business-willsexton" title="Business development">πŸ’Ό</a></td>
59
+ </tr>
60
+ <tr>
61
+ <td align="center"><a href="https://github.com/shallcro"><img src="https://avatars2.githubusercontent.com/u/43279347?v=4" width="125px;" alt="Mike Shallcross"/><br /><sub><b>Mike Shallcross</b></sub></a><br /><a href="#analysis-shallcro" title="Functional requirements and related research">πŸ”¬</a></td>
62
+ <td align="center"><a href="https://github.com/remocrevo"><img src="https://avatars1.githubusercontent.com/u/8701105?v=4" width="125px;" alt="Remington Steed"/><br /><sub><b>Remington Steed</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=remocrevo" title="Code">πŸ’»</a></td>
63
+ <td align="center"><a href="https://github.com/tampakis"><img src="https://avatars2.githubusercontent.com/u/4650153?v=4" width="125px;" alt="Nikitas Tampakis"/><br /><sub><b>Nikitas Tampakis</b></sub></a><br /><a href="#analysis-tampakis" title="Functional requirements and related research">πŸ”¬</a></td>
64
+ <td align="center"><a href="https://github.com/estelendur"><img src="https://avatars0.githubusercontent.com/u/10409866?v=4" width="125px;" alt="Esty Thomas"/><br /><sub><b>Esty Thomas</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=estelendur" title="Code">πŸ’»</a></td>
65
+ <td align="center"><a href="http://camillevilla.github.io"><img src="https://avatars2.githubusercontent.com/u/5402927?v=4" width="125px;" alt="Camille Villa"/><br /><sub><b>Camille Villa</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=camillevilla" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/commits?author=camillevilla" title="Documentation">πŸ“–</a></td>
66
+ </tr>
67
+ <tr>
68
+ <td align="center"><a href="https://github.com/jvine"><img src="https://avatars0.githubusercontent.com/u/6945691?v=4" width="125px;" alt="Jennifer Vine"/><br /><sub><b>Jennifer Vine</b></sub></a><br /><a href="#design-jvine" title="Design">🎨</a></td>
69
+ <td align="center"><a href="https://github.com/jweise"><img src="https://avatars2.githubusercontent.com/u/114413?v=4" width="125px;" alt="John Weise"/><br /><sub><b>John Weise</b></sub></a><br /><a href="#business-jweise" title="Business development">πŸ’Ό</a></td>
70
+ <td align="center"><a href="https://github.com/gwiedeman"><img src="https://avatars0.githubusercontent.com/u/10030353?v=4" width="125px;" alt="Gregory Wiedeman"/><br /><sub><b>Gregory Wiedeman</b></sub></a><br /><a href="https://github.com/projectblacklight/arclight/commits?author=gwiedeman" title="Code">πŸ’»</a> <a href="https://github.com/projectblacklight/arclight/issues?q=author%3Agwiedeman" title="Bug reports">πŸ›</a> <a href="#userTesting-gwiedeman" title="User Testing">πŸ““</a> <a href="#inProduction-gwiedeman" title="Has a production implementation">πŸ†</a></td>
71
+ <td align="center"><a href="https://github.com/lauraw15"><img src="https://avatars2.githubusercontent.com/u/6343788?v=4" width="125px;" alt="Laura Wilsey"/><br /><sub><b>Laura Wilsey</b></sub></a><br /><a href="#analysis-lauraw15" title="Functional requirements and related research">πŸ”¬</a></td>
72
+ </tr>
73
+ </table>
74
+
75
+ <!-- markdownlint-enable -->
76
+ <!-- prettier-ignore-end -->
77
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
78
+
79
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
data/Gemfile CHANGED
@@ -4,9 +4,10 @@ source 'https://rubygems.org'
4
4
 
5
5
  # Specify your gem's dependencies in arclight.gemspec
6
6
  gemspec
7
+
7
8
  # BEGIN ENGINE_CART BLOCK
8
- # engine_cart: 1.1.0
9
- # engine_cart stanza: 0.10.0
9
+ # engine_cart: 2.5.0
10
+ # engine_cart stanza: 2.5.0
10
11
  # the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
11
12
  file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_app', File.dirname(__FILE__)))
12
13
  if File.exist?(file)
@@ -26,15 +27,19 @@ else
26
27
  else
27
28
  gem 'rails', ENV['RAILS_VERSION']
28
29
  end
29
- end
30
30
 
31
- case ENV['RAILS_VERSION']
32
- when /^4.2/
33
- gem 'coffee-rails', '~> 4.1.0'
34
- gem 'responders', '~> 2.0'
35
- gem 'sass-rails', '>= 5.0'
36
- when /^4.[01]/
37
- gem 'sass-rails', '< 5.0'
31
+ case ENV['RAILS_VERSION']
32
+ when /^6.0/
33
+ gem 'sass-rails', '>= 6'
34
+ gem 'webpacker', '~> 4.0'
35
+ when /^5.[12]/
36
+ gem 'sass-rails', '~> 5.0'
37
+ gem 'sprockets', '~> 3.7'
38
+ gem 'thor', '~> 0.20'
39
+ end
38
40
  end
39
41
  end
40
42
  # END ENGINE_CART BLOCK
43
+
44
+ # Used by engine_cart if you need to change a specific version of a dependency
45
+ eval_gemfile File.expand_path('spec/test_app_templates/Gemfile.extra', File.dirname(__FILE__))