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.
- checksums.yaml +4 -4
- data/.all-contributorsrc +450 -0
- data/.codeclimate.yml +5 -0
- data/.eslintrc +14 -4
- data/.github/workflows/ruby.yml +51 -0
- data/.gitignore +1 -0
- data/.rspec +0 -1
- data/.rubocop.yml +504 -8
- data/.rubocop_todo.yml +62 -199
- data/.solr_wrapper +2 -1
- data/CONTRIBUTING.md +5 -5
- data/CONTRIBUTORS.md +79 -0
- data/Gemfile +15 -10
- data/README.md +36 -34
- data/Rakefile +0 -1
- data/app/assets/images/blacklight/bookmark.svg +1 -0
- data/app/assets/images/blacklight/collection.svg +5 -0
- data/app/assets/images/blacklight/compact.svg +1 -25
- data/app/assets/images/blacklight/container.svg +5 -0
- data/app/assets/images/blacklight/ead.svg +1 -0
- data/app/assets/images/blacklight/file.svg +5 -0
- data/app/assets/images/blacklight/folder.svg +1 -0
- data/app/assets/images/blacklight/list.svg +1 -0
- data/app/assets/images/blacklight/minus.svg +1 -0
- data/app/assets/images/blacklight/online.svg +5 -0
- data/app/assets/images/blacklight/pdf.svg +1 -0
- data/app/assets/images/blacklight/plus.svg +1 -0
- data/app/assets/images/blacklight/repository.svg +1 -0
- data/app/assets/javascripts/arclight/arclight.js +4 -10
- data/app/assets/javascripts/arclight/oembed_controller.js +58 -0
- data/app/assets/javascripts/arclight/truncate_controller.js +27 -0
- data/app/assets/stylesheets/arclight/application.scss +4 -4
- data/app/assets/stylesheets/arclight/build.scss +4 -0
- data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +117 -146
- data/app/assets/stylesheets/arclight/modules/highlights.scss +2 -1
- data/app/assets/stylesheets/arclight/modules/icons.scss +20 -0
- data/app/assets/stylesheets/arclight/modules/layout.scss +183 -40
- data/app/assets/stylesheets/arclight/modules/mastheads.scss +24 -75
- data/app/assets/stylesheets/arclight/modules/repositories.scss +3 -7
- data/app/assets/stylesheets/arclight/modules/repository_card.scss +5 -50
- data/app/assets/stylesheets/arclight/modules/search_form.scss +9 -0
- data/app/assets/stylesheets/arclight/modules/search_results.scss +197 -26
- data/app/assets/stylesheets/arclight/modules/show_collection.scss +21 -69
- data/app/assets/stylesheets/arclight/modules/truncator.scss +58 -0
- data/app/assets/stylesheets/arclight/responsive.scss +13 -0
- data/app/assets/stylesheets/arclight/variables.scss +25 -2
- data/app/components/arclight/access_component.html.erb +14 -0
- data/app/components/arclight/access_component.rb +25 -0
- data/app/components/arclight/bookmark_component.html.erb +25 -0
- data/app/components/arclight/bookmark_component.rb +9 -0
- data/app/components/arclight/breadcrumb_component.rb +50 -0
- data/app/components/arclight/breadcrumbs_hierarchy_component.html.erb +34 -0
- data/app/components/arclight/breadcrumbs_hierarchy_component.rb +25 -0
- data/app/components/arclight/collection_context_component.html.erb +12 -0
- data/app/components/arclight/collection_context_component.rb +27 -0
- data/app/components/arclight/collection_info_component.html.erb +28 -0
- data/app/components/arclight/collection_info_component.rb +26 -0
- data/app/components/arclight/collection_sidebar_component.html.erb +15 -0
- data/app/components/arclight/collection_sidebar_component.rb +39 -0
- data/app/{views/catalog/_search_results_repository.html.erb β components/arclight/constraints_component.html.erb} +2 -1
- data/app/components/arclight/constraints_component.rb +17 -0
- data/app/components/arclight/document_collection_context_component.html.erb +29 -0
- data/app/components/arclight/document_collection_context_component.rb +28 -0
- data/app/components/arclight/document_collection_hierarchy_component.html.erb +50 -0
- data/app/components/arclight/document_collection_hierarchy_component.rb +62 -0
- data/app/components/arclight/document_component.html.erb +39 -0
- data/app/components/arclight/document_component.rb +49 -0
- data/app/components/arclight/document_components_hierarchy_component.html.erb +20 -0
- data/app/components/arclight/document_components_hierarchy_component.rb +34 -0
- data/app/components/arclight/document_download_component.html.erb +24 -0
- data/app/components/arclight/document_download_component.rb +71 -0
- data/app/components/arclight/embed_component.html.erb +10 -0
- data/app/components/arclight/embed_component.rb +43 -0
- data/app/components/arclight/expand_hierarchy_button_component.html.erb +5 -0
- data/app/components/arclight/expand_hierarchy_button_component.rb +16 -0
- data/app/components/arclight/group_component.html.erb +34 -0
- data/app/components/arclight/group_component.rb +23 -0
- data/app/components/arclight/header_component.html.erb +5 -0
- data/app/components/arclight/header_component.rb +10 -0
- data/app/components/arclight/index_metadata_field_component.html.erb +16 -0
- data/app/components/arclight/index_metadata_field_component.rb +20 -0
- data/app/components/arclight/masthead_component.html.erb +17 -0
- data/app/components/arclight/masthead_component.rb +10 -0
- data/app/components/arclight/metadata_section_component.html.erb +13 -0
- data/app/components/arclight/metadata_section_component.rb +22 -0
- data/app/components/arclight/oembed_viewer_component.html.erb +5 -0
- data/app/components/arclight/oembed_viewer_component.rb +16 -0
- data/app/components/arclight/online_content_filter_component.html.erb +15 -0
- data/app/components/arclight/online_content_filter_component.rb +17 -0
- data/app/components/arclight/online_status_indicator_component.rb +19 -0
- data/app/components/arclight/repository_breadcrumb_component.html.erb +10 -0
- data/app/components/arclight/repository_breadcrumb_component.rb +17 -0
- data/app/components/arclight/repository_location_component.html.erb +20 -0
- data/app/components/arclight/repository_location_component.rb +10 -0
- data/app/components/arclight/search_bar_component.html.erb +27 -0
- data/app/components/arclight/search_bar_component.rb +32 -0
- data/app/components/arclight/search_result_breadcrumbs_component.html.erb +6 -0
- data/app/components/arclight/search_result_breadcrumbs_component.rb +37 -0
- data/app/components/arclight/search_result_component.html.erb +20 -0
- data/app/components/arclight/search_result_component.rb +18 -0
- data/app/components/arclight/search_result_title_component.html.erb +15 -0
- data/app/components/arclight/search_result_title_component.rb +15 -0
- data/app/components/arclight/sidebar_component.html.erb +9 -0
- data/app/components/arclight/sidebar_component.rb +19 -0
- data/app/components/arclight/upper_metadata_layout_component.rb +10 -0
- data/app/components/blacklight/icons/bookmark_component.rb +12 -0
- data/app/components/blacklight/icons/collection_component.rb +14 -0
- data/app/components/blacklight/icons/compact_component.rb +12 -0
- data/app/components/blacklight/icons/container_component.rb +14 -0
- data/app/components/blacklight/icons/ead_component.rb +12 -0
- data/app/components/blacklight/icons/file_component.rb +14 -0
- data/app/components/blacklight/icons/folder_component.rb +12 -0
- data/app/components/blacklight/icons/online_component.rb +15 -0
- data/app/components/blacklight/icons/pdf_component.rb +12 -0
- data/app/components/blacklight/icons/repository_component.rb +12 -0
- data/app/controllers/arclight/repositories_controller.rb +4 -4
- data/app/helpers/arclight/ead_format_helpers.rb +309 -0
- data/app/helpers/arclight/field_config_helpers.rb +26 -0
- data/app/helpers/arclight_helper.rb +55 -120
- data/app/models/arclight/document_downloads.rb +122 -0
- data/app/models/arclight/parent.rb +9 -9
- data/app/models/arclight/parents.rb +9 -4
- data/app/models/arclight/requests/aeon_external_request.rb +42 -0
- data/app/models/arclight/requests/aeon_web_ead.rb +52 -0
- data/app/models/arclight/requests/google_form.rb +8 -3
- data/app/models/concerns/arclight/catalog.rb +33 -11
- data/app/models/concerns/arclight/search_behavior.rb +22 -21
- data/app/models/concerns/arclight/solr_document.rb +88 -59
- data/app/presenters/arclight/show_presenter.rb +34 -7
- data/app/views/arclight/_requests.html.erb +7 -0
- data/app/views/arclight/repositories/_repository.html.erb +22 -41
- data/app/views/arclight/repositories/index.html.erb +5 -0
- data/app/views/arclight/repositories/show.html.erb +7 -8
- data/app/views/arclight/requests/_aeon_external_request_endpoint.html.erb +8 -0
- data/app/views/arclight/requests/_aeon_web_ead.html.erb +6 -0
- data/app/views/arclight/requests/_google_form.html.erb +4 -5
- data/app/views/catalog/_document_list.html.erb +8 -0
- data/app/views/catalog/_group.html.erb +4 -0
- data/app/views/catalog/_group_toggle.html.erb +10 -0
- data/app/views/catalog/_search_results_header.html.erb +3 -0
- data/app/views/catalog/hierarchy.html.erb +19 -0
- data/app/views/catalog/index.html.erb +16 -7
- data/app/views/shared/_breadcrumbs.html.erb +3 -15
- data/app/views/shared/_main_menu_links.html.erb +1 -1
- data/arclight.gemspec +18 -17
- data/config/breadcrumbs.rb +24 -0
- data/config/i18n-tasks.yml +11 -9
- data/config/importmap.rb +3 -0
- data/config/locales/arclight.en.yml +68 -34
- data/config/routes.rb +1 -1
- data/docker-compose.yml +16 -0
- data/lib/arclight/digital_object.rb +2 -1
- data/lib/arclight/engine.rb +22 -31
- data/lib/arclight/exceptions.rb +1 -0
- data/lib/arclight/hash_absolute_xpath.rb +13 -8
- data/lib/arclight/level_label.rb +46 -0
- data/lib/arclight/normalized_date.rb +5 -10
- data/lib/arclight/normalized_id.rb +7 -2
- data/lib/arclight/normalized_title.rb +3 -0
- data/lib/arclight/repository.rb +70 -28
- data/lib/arclight/routes/hierarchy.rb +19 -0
- data/lib/arclight/routes.rb +8 -0
- data/lib/arclight/traject/ead2_component_config.rb +335 -0
- data/lib/arclight/traject/ead2_config.rb +172 -331
- data/lib/arclight/traject/nokogiri_namespaceless_reader.rb +22 -0
- data/lib/arclight/version.rb +1 -1
- data/lib/arclight/year_range.rb +13 -4
- data/lib/arclight.rb +6 -1
- data/lib/generators/arclight/install_generator.rb +100 -10
- data/lib/generators/arclight/templates/arclight.scss +6 -3
- data/lib/generators/arclight/templates/catalog_controller.rb +237 -179
- data/lib/generators/arclight/templates/config/downloads.yml +12 -0
- data/lib/generators/arclight/templates/config/locales/arclight.en.yml +61 -0
- data/lib/generators/arclight/templates/config/repositories.yml +42 -31
- data/lib/generators/arclight/update_generator.rb +1 -1
- data/lib/tasks/index.rake +25 -30
- data/package.json +15 -9
- data/solr/conf/schema.xml +97 -328
- data/solr/conf/solrconfig.xml +99 -164
- data/tasks/arclight.rake +18 -9
- data/template.rb +6 -7
- metadata +188 -129
- data/.travis.yml +0 -28
- data/app/assets/javascripts/arclight/collection_context.js +0 -18
- data/app/assets/javascripts/arclight/collection_navigation.js +0 -117
- data/app/assets/javascripts/arclight/collection_scrollspy.js +0 -6
- data/app/assets/javascripts/arclight/component_ancestors.js +0 -56
- data/app/assets/javascripts/arclight/oembed_viewer.js +0 -46
- data/app/assets/javascripts/arclight/search_results.js +0 -15
- data/app/assets/javascripts/arclight/truncator.js.erb +0 -23
- data/app/assets/stylesheets/arclight/bootstrap_overrides.scss +0 -3
- data/app/assets/stylesheets/arclight/modules/sidebar.scss +0 -21
- data/app/controllers/concerns/arclight/field_config_helpers.rb +0 -86
- data/app/factories/blacklight_field_configuration_factory.rb +0 -29
- data/app/views/arclight/repositories/_in_person_repository.html.erb +0 -19
- data/app/views/arclight/viewers/_oembed.html.erb +0 -7
- data/app/views/catalog/_arclight_document_index_header.html.erb +0 -13
- data/app/views/catalog/_arclight_document_index_header_online_contents_default.html.erb +0 -0
- data/app/views/catalog/_arclight_index_compact_default.html.erb +0 -15
- data/app/views/catalog/_arclight_online_content_indicator.html.erb +0 -5
- data/app/views/catalog/_arclight_rangelimit.html.erb +0 -24
- data/app/views/catalog/_arclight_viewer_default.html.erb +0 -1
- data/app/views/catalog/_collection_contents.html.erb +0 -12
- data/app/views/catalog/_collection_count.html.erb +0 -7
- data/app/views/catalog/_collection_downloads.html.erb +0 -15
- data/app/views/catalog/_collection_online_contents.html.erb +0 -17
- data/app/views/catalog/_collection_overview.html.erb +0 -7
- data/app/views/catalog/_component_contents.html.erb +0 -16
- data/app/views/catalog/_component_overview.html.erb +0 -40
- data/app/views/catalog/_context_card.html.erb +0 -27
- data/app/views/catalog/_context_sidebar.html.erb +0 -8
- data/app/views/catalog/_custom_metadata.html.erb +0 -16
- data/app/views/catalog/_home.html.erb +0 -1
- data/app/views/catalog/_index_breadcrumb_default.html.erb +0 -3
- data/app/views/catalog/_index_default.html.erb +0 -17
- data/app/views/catalog/_index_header.html.erb +0 -7
- data/app/views/catalog/_index_header_hierarchy_default.html.erb +0 -42
- data/app/views/catalog/_index_header_online_contents_default.html.erb +0 -1
- data/app/views/catalog/_index_hierarchy_default.html.erb +0 -28
- data/app/views/catalog/_index_online_contents_default.html.erb +0 -6
- data/app/views/catalog/_results_histogram.html.erb +0 -15
- data/app/views/catalog/_search_results.html.erb +0 -31
- data/app/views/catalog/_show_breadcrumbs_default.html.erb +0 -21
- data/app/views/catalog/_show_collection.html.erb +0 -48
- data/app/views/catalog/_show_component_sidebar.html.erb +0 -12
- data/app/views/catalog/_show_default.html.erb +0 -42
- data/app/views/catalog/_show_sidebar.html.erb +0 -22
- data/app/views/catalog/_show_upper_metadata_collection.html.erb +0 -1
- data/app/views/catalog/_show_upper_metadata_default.html.erb +0 -14
- data/app/views/layouts/catalog_result.html.erb +0 -7
- data/app/views/shared/_context_sidebar.html.erb +0 -8
- data/app/views/shared/_header_navbar.html.erb +0 -65
- data/lib/arclight/custom_component.rb +0 -99
- data/lib/arclight/custom_document.rb +0 -93
- data/lib/arclight/indexer.rb +0 -9
- data/lib/arclight/shared_indexing_behavior.rb +0 -97
- data/lib/arclight/shared_terminology_behavior.rb +0 -65
- data/lib/arclight/solr_ead_indexer_ext.rb +0 -155
- data/lib/arclight/viewer.rb +0 -45
- data/lib/arclight/viewers/oembed.rb +0 -56
- data/lib/generators/arclight/templates/arclight.js +0 -2
- data/solr/conf/scripts.conf +0 -24
- data/vendor/assets/javascripts/responsiveTruncator.js +0 -69
- data/vendor/assets/javascripts/stickyfill.js +0 -480
- /data/app/assets/images/{blacklight β arclight}/logo.png +0 -0
- /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
|
|
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:
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
|
|
13
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
102
|
-
Metrics/
|
|
103
|
-
Max:
|
|
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:
|
|
113
|
-
# Configuration parameters:
|
|
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
|
-
#
|
|
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:
|
|
134
|
-
#
|
|
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
|
-
|
|
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:
|
|
169
|
-
# Configuration parameters: AggregateFailuresByDefault.
|
|
56
|
+
# Offense count: 112
|
|
170
57
|
RSpec/MultipleExpectations:
|
|
171
|
-
Max:
|
|
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:
|
|
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
|
-
#
|
|
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
|
-
|
|
188
|
-
|
|
189
|
-
|
|
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/
|
|
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
|
-
|
|
93
|
+
# Configuration parameters: Include.
|
|
94
|
+
# Include: app/helpers/**/*.rb
|
|
95
|
+
Rails/HelperInstanceVariable:
|
|
215
96
|
Exclude:
|
|
216
|
-
- '
|
|
217
|
-
- 'test/**/*'
|
|
218
|
-
- 'lib/arclight.rb'
|
|
97
|
+
- 'app/helpers/arclight_helper.rb'
|
|
219
98
|
|
|
220
99
|
# Offense count: 1
|
|
221
|
-
|
|
222
|
-
Style/Encoding:
|
|
100
|
+
Rails/OutputSafety:
|
|
223
101
|
Exclude:
|
|
224
|
-
- 'arclight.
|
|
102
|
+
- 'app/helpers/arclight/field_config_helpers.rb'
|
|
225
103
|
|
|
226
|
-
# Offense count:
|
|
227
|
-
#
|
|
228
|
-
|
|
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
|
-
- '
|
|
231
|
-
- '
|
|
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
|
-
|
|
242
|
-
Style/MinMax:
|
|
114
|
+
Security/Open:
|
|
243
115
|
Exclude:
|
|
244
|
-
- 'lib/
|
|
116
|
+
- 'lib/tasks/index.rake'
|
|
245
117
|
|
|
246
118
|
# Offense count: 1
|
|
247
|
-
#
|
|
248
|
-
|
|
249
|
-
# SupportedStyles: implicit, explicit
|
|
250
|
-
Style/RescueStandardError:
|
|
119
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
120
|
+
Style/RedundantConstantBase:
|
|
251
121
|
Exclude:
|
|
252
|
-
- '
|
|
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
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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:
|
|
9
|
-
# engine_cart stanza:
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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__))
|