arclight 0.0.1 → 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 (204) hide show
  1. checksums.yaml +5 -5
  2. data/.all-contributorsrc +450 -0
  3. data/.codeclimate.yml +5 -0
  4. data/.eslintrc +22 -0
  5. data/.github/workflows/ruby.yml +51 -0
  6. data/.gitignore +7 -0
  7. data/.rspec +0 -1
  8. data/.rubocop.yml +521 -0
  9. data/.rubocop_todo.yml +122 -0
  10. data/.solr_wrapper +6 -0
  11. data/CONTRIBUTING.md +43 -0
  12. data/CONTRIBUTORS.md +79 -0
  13. data/Gemfile +41 -0
  14. data/LICENSE.txt +1 -0
  15. data/README.md +100 -12
  16. data/Rakefile +13 -3
  17. data/app/assets/images/arclight/logo.png +0 -0
  18. data/app/assets/images/blacklight/bookmark.svg +1 -0
  19. data/app/assets/images/blacklight/collection.svg +5 -0
  20. data/app/assets/images/blacklight/compact.svg +1 -0
  21. data/app/assets/images/blacklight/container.svg +5 -0
  22. data/app/assets/images/blacklight/ead.svg +1 -0
  23. data/app/assets/images/blacklight/file.svg +5 -0
  24. data/app/assets/images/blacklight/folder.svg +1 -0
  25. data/app/assets/images/blacklight/list.svg +1 -0
  26. data/app/assets/images/blacklight/minus.svg +1 -0
  27. data/app/assets/images/blacklight/online.svg +5 -0
  28. data/app/assets/images/blacklight/pdf.svg +1 -0
  29. data/app/assets/images/blacklight/plus.svg +1 -0
  30. data/app/assets/images/blacklight/repository.svg +1 -0
  31. data/app/assets/javascripts/arclight/arclight.js +4 -0
  32. data/app/assets/javascripts/arclight/oembed_controller.js +58 -0
  33. data/app/assets/javascripts/arclight/truncate_controller.js +27 -0
  34. data/app/assets/stylesheets/arclight/application.scss +14 -0
  35. data/app/assets/stylesheets/arclight/build.scss +4 -0
  36. data/app/assets/stylesheets/arclight/modules/collection_search.scss +3 -0
  37. data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +155 -0
  38. data/app/assets/stylesheets/arclight/modules/highlights.scss +11 -0
  39. data/app/assets/stylesheets/arclight/modules/icons.scss +20 -0
  40. data/app/assets/stylesheets/arclight/modules/layout.scss +220 -0
  41. data/app/assets/stylesheets/arclight/modules/mastheads.scss +42 -0
  42. data/app/assets/stylesheets/arclight/modules/repositories.scss +25 -0
  43. data/app/assets/stylesheets/arclight/modules/repository_card.scss +9 -0
  44. data/app/assets/stylesheets/arclight/modules/search_form.scss +9 -0
  45. data/app/assets/stylesheets/arclight/modules/search_results.scss +250 -0
  46. data/app/assets/stylesheets/arclight/modules/show_collection.scss +38 -0
  47. data/app/assets/stylesheets/arclight/modules/truncator.scss +58 -0
  48. data/app/assets/stylesheets/arclight/responsive.scss +13 -0
  49. data/app/assets/stylesheets/arclight/variables.scss +25 -0
  50. data/app/components/arclight/access_component.html.erb +14 -0
  51. data/app/components/arclight/access_component.rb +25 -0
  52. data/app/components/arclight/bookmark_component.html.erb +25 -0
  53. data/app/components/arclight/bookmark_component.rb +9 -0
  54. data/app/components/arclight/breadcrumb_component.rb +50 -0
  55. data/app/components/arclight/breadcrumbs_hierarchy_component.html.erb +34 -0
  56. data/app/components/arclight/breadcrumbs_hierarchy_component.rb +25 -0
  57. data/app/components/arclight/collection_context_component.html.erb +12 -0
  58. data/app/components/arclight/collection_context_component.rb +27 -0
  59. data/app/components/arclight/collection_info_component.html.erb +28 -0
  60. data/app/components/arclight/collection_info_component.rb +26 -0
  61. data/app/components/arclight/collection_sidebar_component.html.erb +15 -0
  62. data/app/components/arclight/collection_sidebar_component.rb +39 -0
  63. data/app/components/arclight/constraints_component.html.erb +7 -0
  64. data/app/components/arclight/constraints_component.rb +17 -0
  65. data/app/components/arclight/document_collection_context_component.html.erb +29 -0
  66. data/app/components/arclight/document_collection_context_component.rb +28 -0
  67. data/app/components/arclight/document_collection_hierarchy_component.html.erb +50 -0
  68. data/app/components/arclight/document_collection_hierarchy_component.rb +62 -0
  69. data/app/components/arclight/document_component.html.erb +39 -0
  70. data/app/components/arclight/document_component.rb +49 -0
  71. data/app/components/arclight/document_components_hierarchy_component.html.erb +20 -0
  72. data/app/components/arclight/document_components_hierarchy_component.rb +34 -0
  73. data/app/components/arclight/document_download_component.html.erb +24 -0
  74. data/app/components/arclight/document_download_component.rb +71 -0
  75. data/app/components/arclight/embed_component.html.erb +10 -0
  76. data/app/components/arclight/embed_component.rb +43 -0
  77. data/app/components/arclight/expand_hierarchy_button_component.html.erb +5 -0
  78. data/app/components/arclight/expand_hierarchy_button_component.rb +16 -0
  79. data/app/components/arclight/group_component.html.erb +34 -0
  80. data/app/components/arclight/group_component.rb +23 -0
  81. data/app/components/arclight/header_component.html.erb +5 -0
  82. data/app/components/arclight/header_component.rb +10 -0
  83. data/app/components/arclight/index_metadata_field_component.html.erb +16 -0
  84. data/app/components/arclight/index_metadata_field_component.rb +20 -0
  85. data/app/components/arclight/masthead_component.html.erb +17 -0
  86. data/app/components/arclight/masthead_component.rb +10 -0
  87. data/app/components/arclight/metadata_section_component.html.erb +13 -0
  88. data/app/components/arclight/metadata_section_component.rb +22 -0
  89. data/app/components/arclight/oembed_viewer_component.html.erb +5 -0
  90. data/app/components/arclight/oembed_viewer_component.rb +16 -0
  91. data/app/components/arclight/online_content_filter_component.html.erb +15 -0
  92. data/app/components/arclight/online_content_filter_component.rb +17 -0
  93. data/app/components/arclight/online_status_indicator_component.rb +19 -0
  94. data/app/components/arclight/repository_breadcrumb_component.html.erb +10 -0
  95. data/app/components/arclight/repository_breadcrumb_component.rb +17 -0
  96. data/app/components/arclight/repository_location_component.html.erb +20 -0
  97. data/app/components/arclight/repository_location_component.rb +10 -0
  98. data/app/components/arclight/search_bar_component.html.erb +27 -0
  99. data/app/components/arclight/search_bar_component.rb +32 -0
  100. data/app/components/arclight/search_result_breadcrumbs_component.html.erb +6 -0
  101. data/app/components/arclight/search_result_breadcrumbs_component.rb +37 -0
  102. data/app/components/arclight/search_result_component.html.erb +20 -0
  103. data/app/components/arclight/search_result_component.rb +18 -0
  104. data/app/components/arclight/search_result_title_component.html.erb +15 -0
  105. data/app/components/arclight/search_result_title_component.rb +15 -0
  106. data/app/components/arclight/sidebar_component.html.erb +9 -0
  107. data/app/components/arclight/sidebar_component.rb +19 -0
  108. data/app/components/arclight/upper_metadata_layout_component.rb +10 -0
  109. data/app/components/blacklight/icons/bookmark_component.rb +12 -0
  110. data/app/components/blacklight/icons/collection_component.rb +14 -0
  111. data/app/components/blacklight/icons/compact_component.rb +12 -0
  112. data/app/components/blacklight/icons/container_component.rb +14 -0
  113. data/app/components/blacklight/icons/ead_component.rb +12 -0
  114. data/app/components/blacklight/icons/file_component.rb +14 -0
  115. data/app/components/blacklight/icons/folder_component.rb +12 -0
  116. data/app/components/blacklight/icons/online_component.rb +15 -0
  117. data/app/components/blacklight/icons/pdf_component.rb +12 -0
  118. data/app/components/blacklight/icons/repository_component.rb +12 -0
  119. data/app/controllers/arclight/repositories_controller.rb +40 -0
  120. data/app/helpers/arclight/ead_format_helpers.rb +309 -0
  121. data/app/helpers/arclight/field_config_helpers.rb +26 -0
  122. data/app/helpers/arclight_helper.rb +108 -0
  123. data/app/models/arclight/document_downloads.rb +122 -0
  124. data/app/models/arclight/parent.rb +24 -0
  125. data/app/models/arclight/parents.rb +39 -0
  126. data/app/models/arclight/requests/aeon_external_request.rb +42 -0
  127. data/app/models/arclight/requests/aeon_web_ead.rb +52 -0
  128. data/app/models/arclight/requests/google_form.rb +49 -0
  129. data/app/models/concerns/arclight/catalog.rb +44 -0
  130. data/app/models/concerns/arclight/search_behavior.rb +47 -0
  131. data/app/models/concerns/arclight/solr_document.rb +160 -0
  132. data/app/presenters/arclight/index_presenter.rb +10 -0
  133. data/app/presenters/arclight/show_presenter.rb +54 -0
  134. data/app/views/arclight/.keep +0 -0
  135. data/app/views/arclight/_requests.html.erb +7 -0
  136. data/app/views/arclight/repositories/_repository.html.erb +43 -0
  137. data/app/views/arclight/repositories/index.html.erb +9 -0
  138. data/app/views/arclight/repositories/show.html.erb +37 -0
  139. data/app/views/arclight/requests/_aeon_external_request_endpoint.html.erb +8 -0
  140. data/app/views/arclight/requests/_aeon_web_ead.html.erb +6 -0
  141. data/app/views/arclight/requests/_google_form.html.erb +10 -0
  142. data/app/views/catalog/_document_list.html.erb +8 -0
  143. data/app/views/catalog/_group.html.erb +4 -0
  144. data/app/views/catalog/_group_toggle.html.erb +10 -0
  145. data/app/views/catalog/_search_results_header.html.erb +3 -0
  146. data/app/views/catalog/hierarchy.html.erb +19 -0
  147. data/app/views/catalog/index.html.erb +17 -0
  148. data/app/views/shared/_breadcrumbs.html.erb +3 -0
  149. data/app/views/shared/_main_menu_links.html.erb +6 -0
  150. data/arclight.gemspec +29 -11
  151. data/bin/rails +13 -0
  152. data/config/breadcrumbs.rb +24 -0
  153. data/config/i18n-tasks.yml +134 -0
  154. data/config/importmap.rb +3 -0
  155. data/config/locales/arclight.en.yml +100 -0
  156. data/config/repositories.yml +0 -0
  157. data/config/routes.rb +6 -0
  158. data/docker-compose.yml +16 -0
  159. data/lib/arclight/digital_object.rb +27 -0
  160. data/lib/arclight/engine.rb +47 -0
  161. data/lib/arclight/exceptions.rb +19 -0
  162. data/lib/arclight/hash_absolute_xpath.rb +62 -0
  163. data/lib/arclight/level_label.rb +46 -0
  164. data/lib/arclight/missing_id_strategy.rb +21 -0
  165. data/lib/arclight/normalized_date.rb +49 -0
  166. data/lib/arclight/normalized_id.rb +30 -0
  167. data/lib/arclight/normalized_title.rb +33 -0
  168. data/lib/arclight/repository.rb +116 -0
  169. data/lib/arclight/routes/hierarchy.rb +19 -0
  170. data/lib/arclight/routes.rb +8 -0
  171. data/lib/arclight/traject/ead2_component_config.rb +335 -0
  172. data/lib/arclight/traject/ead2_config.rb +316 -0
  173. data/lib/arclight/traject/nokogiri_namespaceless_reader.rb +22 -0
  174. data/lib/arclight/version.rb +3 -1
  175. data/lib/arclight/year_range.rb +111 -0
  176. data/lib/arclight.rb +11 -1
  177. data/lib/generators/arclight/install_generator.rb +163 -0
  178. data/lib/generators/arclight/templates/arclight.scss +6 -0
  179. data/lib/generators/arclight/templates/catalog_controller.rb +423 -0
  180. data/lib/generators/arclight/templates/config/downloads.yml +25 -0
  181. data/lib/generators/arclight/templates/config/locales/arclight.en.yml +61 -0
  182. data/lib/generators/arclight/templates/config/repositories.yml +53 -0
  183. data/lib/generators/arclight/update_generator.rb +22 -0
  184. data/lib/tasks/index.rake +84 -0
  185. data/package.json +30 -0
  186. data/solr/conf/_rest_managed.json +3 -0
  187. data/solr/conf/admin-extra.html +31 -0
  188. data/solr/conf/elevate.xml +36 -0
  189. data/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  190. data/solr/conf/protwords.txt +21 -0
  191. data/solr/conf/schema.xml +400 -0
  192. data/solr/conf/solrconfig.xml +328 -0
  193. data/solr/conf/spellings.txt +2 -0
  194. data/solr/conf/stopwords.txt +58 -0
  195. data/solr/conf/stopwords_en.txt +58 -0
  196. data/solr/conf/synonyms.txt +31 -0
  197. data/solr/conf/xslt/example.xsl +132 -0
  198. data/solr/conf/xslt/example_atom.xsl +67 -0
  199. data/solr/conf/xslt/example_rss.xsl +66 -0
  200. data/solr/conf/xslt/luke.xsl +337 -0
  201. data/tasks/arclight.rake +79 -0
  202. data/template.rb +10 -0
  203. metadata +440 -20
  204. data/.travis.yml +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: da7dfb3d7dc685b9162a9cfb6f1493eefea226ff
4
- data.tar.gz: a353787fa5e7d1db16180272c9c9acb28fde663c
2
+ SHA256:
3
+ metadata.gz: 0f420e8cfdd2330f786efc0792a102163f114625752b77c32695c172217d66ce
4
+ data.tar.gz: b373b12a559f9fafadb8d0a0fb0e66e1691b81a91e989ecf23db5cf090f7ee27
5
5
  SHA512:
6
- metadata.gz: 2ea749f25b499d904c9609bc2b5733dd92ad78a27640b2f8c90aa0ba478fb9e2d24f36d61e135cc87fcc855faf0024ebbb497deae23cab8ef3f837dfcd7feb18
7
- data.tar.gz: 97eaad0541a49445d6bcd41bf52e8a565baf50f3bae66de50c27db6224c2e81f94acdb7aa045f08d096523165fcb679e5b2eae9d322477399384c29af20e8f94
6
+ metadata.gz: 15656150e9dcc4c27a871376c9a7f297fa44bc8f45b20354ec11f8320742c51531c968e662bf926b5fb7c3c5f514060fc6e1ed9ba142a51b31b9febef501e573
7
+ data.tar.gz: 0fb9df78502d8e33a5dd4ca59117ca82ccfe770e0c6c9caac785c9d311ee3d12db88201e061a9ed9a33678276ec2cb1e75c011c29640e0219f87d99359874ce0
@@ -0,0 +1,450 @@
1
+ {
2
+ "projectName": "arclight",
3
+ "projectOwner": "projectblacklight",
4
+ "repoType": "github",
5
+ "repoHost": "https://github.com",
6
+ "files": [
7
+ "CONTRIBUTORS.md",
8
+ "README.md"
9
+ ],
10
+ "imageSize": 125,
11
+ "commit": false,
12
+ "commitConvention": "none",
13
+ "types": {
14
+ "analysis": {
15
+ "symbol": "🔬",
16
+ "description": "Functional requirements and related research"
17
+ },
18
+ "inProduction": {
19
+ "symbol": "🏆",
20
+ "description": "Has a production implementation"
21
+ },
22
+ "productOwner": {
23
+ "symbol": "🗺",
24
+ "description": "Product owner"
25
+ }
26
+ },
27
+ "contributors": [
28
+ {
29
+ "login": "seanaery",
30
+ "name": "Sean Aery",
31
+ "avatar_url": "https://avatars3.githubusercontent.com/u/3933756?v=4",
32
+ "profile": "https://github.com/seanaery",
33
+ "contributions": [
34
+ "code"
35
+ ]
36
+ },
37
+ {
38
+ "login": "helrond",
39
+ "name": "Hillel Arnold",
40
+ "avatar_url": "https://avatars0.githubusercontent.com/u/607621?v=4",
41
+ "profile": "http://hillelarnold.com",
42
+ "contributions": [
43
+ "analysis",
44
+ "userTesting"
45
+ ]
46
+ },
47
+ {
48
+ "login": "cbeer",
49
+ "name": "Chris Beer",
50
+ "avatar_url": "https://avatars1.githubusercontent.com/u/111218?v=4",
51
+ "profile": "http://cbeer.info",
52
+ "contributions": [
53
+ "code",
54
+ "doc"
55
+ ]
56
+ },
57
+ {
58
+ "login": "labradford",
59
+ "name": "Lea Ann Bradford",
60
+ "avatar_url": "https://avatars3.githubusercontent.com/u/18175797?v=4",
61
+ "profile": "http://leaannbradford.com",
62
+ "contributions": [
63
+ "code"
64
+ ]
65
+ },
66
+ {
67
+ "login": "christinach",
68
+ "name": "Christina Chortaria",
69
+ "avatar_url": "https://avatars0.githubusercontent.com/u/9905193?v=4",
70
+ "profile": "http://actspatial.com",
71
+ "contributions": [
72
+ "code"
73
+ ]
74
+ },
75
+ {
76
+ "login": "mark-cooper",
77
+ "name": "Mark Cooper",
78
+ "avatar_url": "https://avatars1.githubusercontent.com/u/551470?v=4",
79
+ "profile": "https://github.com/mark-cooper",
80
+ "contributions": [
81
+ "code",
82
+ "plugin"
83
+ ]
84
+ },
85
+ {
86
+ "login": "escowles",
87
+ "name": "Esmé Cowles",
88
+ "avatar_url": "https://avatars3.githubusercontent.com/u/856924?v=4",
89
+ "profile": "http://knittles.ticklefish.org/",
90
+ "contributions": [
91
+ "business",
92
+ "analysis"
93
+ ]
94
+ },
95
+ {
96
+ "login": "tomcramer",
97
+ "name": "Tom Cramer",
98
+ "avatar_url": "https://avatars3.githubusercontent.com/u/1054837?v=4",
99
+ "profile": "https://github.com/tomcramer",
100
+ "contributions": [
101
+ "business"
102
+ ]
103
+ },
104
+ {
105
+ "login": "mdalmau",
106
+ "name": "Michelle Dalmau",
107
+ "avatar_url": "https://avatars0.githubusercontent.com/u/573273?v=4",
108
+ "profile": "https://github.com/mdalmau",
109
+ "contributions": [
110
+ "business"
111
+ ]
112
+ },
113
+ {
114
+ "login": "billdueber",
115
+ "name": "Bill Dueber",
116
+ "avatar_url": "https://avatars0.githubusercontent.com/u/114006?v=4",
117
+ "profile": "http://robotlibrarian.billdueber.com/",
118
+ "contributions": [
119
+ "analysis",
120
+ "code"
121
+ ]
122
+ },
123
+ {
124
+ "login": "jwd",
125
+ "name": "Jon Dunn",
126
+ "avatar_url": "https://avatars1.githubusercontent.com/u/842343?v=4",
127
+ "profile": "https://github.com/jwd",
128
+ "contributions": [
129
+ "business"
130
+ ]
131
+ },
132
+ {
133
+ "login": "eckardm",
134
+ "name": "Max Eckard",
135
+ "avatar_url": "https://avatars1.githubusercontent.com/u/7072443?v=4",
136
+ "profile": "https://github.com/eckardm",
137
+ "contributions": [
138
+ "analysis",
139
+ "productOwner",
140
+ "userTesting"
141
+ ]
142
+ },
143
+ {
144
+ "login": "jrgriffiniii",
145
+ "name": "James R. Griffin III",
146
+ "avatar_url": "https://avatars0.githubusercontent.com/u/1443986?v=4",
147
+ "profile": "https://github.com/jrgriffiniii",
148
+ "contributions": [
149
+ "code"
150
+ ]
151
+ },
152
+ {
153
+ "login": "p-galligan",
154
+ "name": "Patrick Galligan",
155
+ "avatar_url": "https://avatars2.githubusercontent.com/u/2585069?v=4",
156
+ "profile": "https://github.com/p-galligan",
157
+ "contributions": [
158
+ "userTesting"
159
+ ]
160
+ },
161
+ {
162
+ "login": "ggeisler",
163
+ "name": "Gary Geisler",
164
+ "avatar_url": "https://avatars1.githubusercontent.com/u/101482?v=4",
165
+ "profile": "http://ggeisler.com",
166
+ "contributions": [
167
+ "code",
168
+ "design"
169
+ ]
170
+ },
171
+ {
172
+ "login": "bonniegee",
173
+ "name": "Bonnie Gordon",
174
+ "avatar_url": "https://avatars3.githubusercontent.com/u/8737364?v=4",
175
+ "profile": "https://github.com/bonniegee",
176
+ "contributions": [
177
+ "userTesting"
178
+ ]
179
+ },
180
+ {
181
+ "login": "mswendyh",
182
+ "name": "Wendy Hagenmaier",
183
+ "avatar_url": "https://avatars1.githubusercontent.com/u/7033667?v=4",
184
+ "profile": "https://github.com/mswendyh",
185
+ "contributions": [
186
+ "analysis"
187
+ ]
188
+ },
189
+ {
190
+ "name": "Jim Halliday",
191
+ "avatar_url": "http://gravatar.com/avatar/8b53dcb509d4b1fe8dd74da6a94395ef.jpg?d=retro",
192
+ "contributions": [
193
+ "business"
194
+ ]
195
+ },
196
+ {
197
+ "login": "jlhardes",
198
+ "name": "Julie Hardesty",
199
+ "avatar_url": "https://avatars1.githubusercontent.com/u/3440166?v=4",
200
+ "profile": "https://github.com/jlhardes",
201
+ "contributions": [
202
+ "analysis",
203
+ "productOwner"
204
+ ]
205
+ },
206
+ {
207
+ "login": "drh-stanford",
208
+ "name": "Darren Hardy",
209
+ "avatar_url": "https://avatars3.githubusercontent.com/u/1861171?v=4",
210
+ "profile": "http://stanford.edu/~drh",
211
+ "contributions": [
212
+ "code",
213
+ "doc"
214
+ ]
215
+ },
216
+ {
217
+ "login": "drhardy",
218
+ "name": "Darren Hardy",
219
+ "avatar_url": "https://avatars3.githubusercontent.com/u/25580222?v=4",
220
+ "profile": "https://github.com/drhardy",
221
+ "contributions": [
222
+ "code"
223
+ ]
224
+ },
225
+ {
226
+ "login": "regineheberlein",
227
+ "name": "Regine Heberlein",
228
+ "avatar_url": "https://avatars1.githubusercontent.com/u/5940563?v=4",
229
+ "profile": "https://github.com/regineheberlein",
230
+ "contributions": [
231
+ "analysis",
232
+ "productOwner"
233
+ ]
234
+ },
235
+ {
236
+ "login": "noahgh221",
237
+ "name": "Noah Huffman",
238
+ "avatar_url": "https://avatars3.githubusercontent.com/u/7328518?v=4",
239
+ "profile": "https://github.com/noahgh221",
240
+ "contributions": [
241
+ "analysis",
242
+ "productOwner"
243
+ ]
244
+ },
245
+ {
246
+ "login": "njaffer",
247
+ "name": "Nabeela Jaffer",
248
+ "avatar_url": "https://avatars0.githubusercontent.com/u/12487929?v=4",
249
+ "profile": "https://github.com/njaffer",
250
+ "contributions": [
251
+ "analysis",
252
+ "business"
253
+ ]
254
+ },
255
+ {
256
+ "login": "jkeck",
257
+ "name": "Jessie Keck",
258
+ "avatar_url": "https://avatars0.githubusercontent.com/u/96776?v=4",
259
+ "profile": "https://github.com/jkeck",
260
+ "contributions": [
261
+ "code",
262
+ "doc"
263
+ ]
264
+ },
265
+ {
266
+ "login": "gordonleacock",
267
+ "name": "Gordon Leacock",
268
+ "avatar_url": "https://avatars3.githubusercontent.com/u/12927191?v=4",
269
+ "profile": "https://github.com/gordonleacock",
270
+ "contributions": [
271
+ "code",
272
+ "doc"
273
+ ]
274
+ },
275
+ {
276
+ "login": "anarchivist",
277
+ "name": "Mark A. Matienzo",
278
+ "avatar_url": "https://avatars0.githubusercontent.com/u/73732?v=4",
279
+ "profile": "https://matienzo.org/",
280
+ "contributions": [
281
+ "projectManagement",
282
+ "business",
283
+ "analysis",
284
+ "productOwner"
285
+ ]
286
+ },
287
+ {
288
+ "login": "archivistsarah",
289
+ "name": "Sarah Newhouse",
290
+ "avatar_url": "https://avatars0.githubusercontent.com/u/25084902?v=4",
291
+ "profile": "https://github.com/archivistsarah",
292
+ "contributions": [
293
+ "analysis"
294
+ ]
295
+ },
296
+ {
297
+ "login": "grepcats",
298
+ "name": "Kayla Ondracek",
299
+ "avatar_url": "https://avatars0.githubusercontent.com/u/7513448?v=4",
300
+ "profile": "https://github.com/grepcats",
301
+ "contributions": [
302
+ "analysis"
303
+ ]
304
+ },
305
+ {
306
+ "login": "djpillen",
307
+ "name": "Dallas Pillen",
308
+ "avatar_url": "https://avatars3.githubusercontent.com/u/11635158?v=4",
309
+ "profile": "https://github.com/djpillen",
310
+ "contributions": [
311
+ "code",
312
+ "userTesting"
313
+ ]
314
+ },
315
+ {
316
+ "login": "cmkpowell",
317
+ "name": "Chris Powell",
318
+ "avatar_url": "https://avatars1.githubusercontent.com/u/16540397?v=4",
319
+ "profile": "https://github.com/cmkpowell",
320
+ "contributions": [
321
+ "analysis",
322
+ "productOwner"
323
+ ]
324
+ },
325
+ {
326
+ "login": "mejackreed",
327
+ "name": "Jack Reed",
328
+ "avatar_url": "https://avatars0.githubusercontent.com/u/1656824?v=4",
329
+ "profile": "https://www.jack-reed.com/",
330
+ "contributions": [
331
+ "code",
332
+ "doc"
333
+ ]
334
+ },
335
+ {
336
+ "login": "John-Rees",
337
+ "name": "John Rees",
338
+ "avatar_url": "https://avatars1.githubusercontent.com/u/29233549?v=4",
339
+ "profile": "https://github.com/John-Rees",
340
+ "contributions": [
341
+ "analysis"
342
+ ]
343
+ },
344
+ {
345
+ "login": "joshschneider",
346
+ "name": "Josh Schneider",
347
+ "avatar_url": "https://avatars3.githubusercontent.com/u/12468197?v=4",
348
+ "profile": "https://github.com/joshschneider",
349
+ "contributions": [
350
+ "analysis",
351
+ "productOwner"
352
+ ]
353
+ },
354
+ {
355
+ "login": "willsexton",
356
+ "name": "Will Sexton",
357
+ "avatar_url": "https://avatars2.githubusercontent.com/u/1359320?v=4",
358
+ "profile": "https://github.com/willsexton",
359
+ "contributions": [
360
+ "business"
361
+ ]
362
+ },
363
+ {
364
+ "login": "shallcro",
365
+ "name": "Mike Shallcross",
366
+ "avatar_url": "https://avatars2.githubusercontent.com/u/43279347?v=4",
367
+ "profile": "https://github.com/shallcro",
368
+ "contributions": [
369
+ "analysis"
370
+ ]
371
+ },
372
+ {
373
+ "login": "remocrevo",
374
+ "name": "Remington Steed",
375
+ "avatar_url": "https://avatars1.githubusercontent.com/u/8701105?v=4",
376
+ "profile": "https://github.com/remocrevo",
377
+ "contributions": [
378
+ "code"
379
+ ]
380
+ },
381
+ {
382
+ "login": "tampakis",
383
+ "name": "Nikitas Tampakis",
384
+ "avatar_url": "https://avatars2.githubusercontent.com/u/4650153?v=4",
385
+ "profile": "https://github.com/tampakis",
386
+ "contributions": [
387
+ "analysis"
388
+ ]
389
+ },
390
+ {
391
+ "login": "estelendur",
392
+ "name": "Esty Thomas",
393
+ "avatar_url": "https://avatars0.githubusercontent.com/u/10409866?v=4",
394
+ "profile": "https://github.com/estelendur",
395
+ "contributions": [
396
+ "code"
397
+ ]
398
+ },
399
+ {
400
+ "login": "camillevilla",
401
+ "name": "Camille Villa",
402
+ "avatar_url": "https://avatars2.githubusercontent.com/u/5402927?v=4",
403
+ "profile": "http://camillevilla.github.io",
404
+ "contributions": [
405
+ "code",
406
+ "doc"
407
+ ]
408
+ },
409
+ {
410
+ "login": "jvine",
411
+ "name": "Jennifer Vine",
412
+ "avatar_url": "https://avatars0.githubusercontent.com/u/6945691?v=4",
413
+ "profile": "https://github.com/jvine",
414
+ "contributions": [
415
+ "design"
416
+ ]
417
+ },
418
+ {
419
+ "login": "jweise",
420
+ "name": "John Weise",
421
+ "avatar_url": "https://avatars2.githubusercontent.com/u/114413?v=4",
422
+ "profile": "https://github.com/jweise",
423
+ "contributions": [
424
+ "business"
425
+ ]
426
+ },
427
+ {
428
+ "login": "gwiedeman",
429
+ "name": "Gregory Wiedeman",
430
+ "avatar_url": "https://avatars0.githubusercontent.com/u/10030353?v=4",
431
+ "profile": "https://github.com/gwiedeman",
432
+ "contributions": [
433
+ "code",
434
+ "bug",
435
+ "userTesting",
436
+ "inProduction"
437
+ ]
438
+ },
439
+ {
440
+ "login": "lauraw15",
441
+ "name": "Laura Wilsey",
442
+ "avatar_url": "https://avatars2.githubusercontent.com/u/6343788?v=4",
443
+ "profile": "https://github.com/lauraw15",
444
+ "contributions": [
445
+ "analysis"
446
+ ]
447
+ }
448
+ ],
449
+ "contributorsPerLine": 5
450
+ }
data/.codeclimate.yml ADDED
@@ -0,0 +1,5 @@
1
+ version: "2"
2
+ exclude_patterns:
3
+ - "app/assets/javascripts/arclight/context_navigation.js"
4
+ - "vendor/assets/javascripts/**/*.js"
5
+ - "spec/**/*.rb"
data/.eslintrc ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "env": {
3
+ "es6": true
4
+ },
5
+ "parserOptions": {
6
+ "ecmaVersion": 2022,
7
+ "sourceType": "module"
8
+ },
9
+ "extends": "airbnb-base/legacy",
10
+ "globals": {
11
+ "Blacklight": true,
12
+ "bootstrap": true,
13
+ "Stimulus": true,
14
+ },
15
+ "rules": {
16
+ "no-param-reassign": [2, { "props": false }],
17
+ "func-names": ["error", "never"],
18
+ "indent": ["warn"],
19
+ "quotes": ["error", "single", { "avoidEscape": true }],
20
+ "semi": ["warn", "never"]
21
+ }
22
+ }
@@ -0,0 +1,51 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main, release-*]
6
+ pull_request:
7
+ branches: [main, release-*]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ rails_version: [7.1.5.1, 7.2.2.1]
15
+ ruby: ["3.2", "3.3"]
16
+ additional_engine_cart_rails_options: [""]
17
+ include:
18
+ - ruby: "3.1"
19
+ rails_version: "7.1.5"
20
+ - ruby: "3.3"
21
+ rails_version: "8.0.1"
22
+ env:
23
+ RAILS_VERSION: ${{ matrix.rails_version }}
24
+ ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-kamal --skip-solid --skip-coffee --skip-test --css bootstrap -a propshaft -j importmap ${{ matrix.additional_engine_cart_rails_options }}"
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - name: Set up Ruby ${{ matrix.ruby }}
28
+ uses: ruby/setup-ruby@v1
29
+ with:
30
+ bundler: latest
31
+ ruby-version: ${{ matrix.ruby }}
32
+ - name: Install dependencies with Rails ${{ matrix.rails_version }}
33
+ run: bundle install
34
+ - name: Run tests
35
+ run: bundle exec rake ci
36
+ lint:
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - name: Checkout code
40
+ uses: actions/checkout@v4
41
+ - name: Install Ruby and gems
42
+ uses: ruby/setup-ruby@v1
43
+ with:
44
+ bundler: latest
45
+ ruby-version: 3.2
46
+ - name: Install dependencies with Bundler
47
+ run: bundle install
48
+ - name: Install dependencies with yarn
49
+ run: yarn install
50
+ - name: Lint Ruby files
51
+ run: bundle exec rake rubocop eslint
data/.gitignore CHANGED
@@ -1,12 +1,19 @@
1
1
  /.bundle/
2
+ /.ruby-version
2
3
  /.yardoc
3
4
  /Gemfile.lock
5
+ /yarn.lock
4
6
  /_yardoc/
5
7
  /coverage/
6
8
  /doc/
7
9
  /pkg/
8
10
  /spec/reports/
9
11
  /tmp/
12
+ /app/assets/builds/
10
13
 
11
14
  # rspec failure tracking
12
15
  .rspec_status
16
+
17
+ .internal_test_app
18
+
19
+ /node_modules/
data/.rspec CHANGED
@@ -1,2 +1 @@
1
- --format documentation
2
1
  --color