arclight 0.1.4 → 0.2.0
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 +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -47
- data/.rubocop_todo.yml +259 -0
- data/.travis.yml +15 -20
- data/README.md +17 -4
- data/app/assets/images/blacklight/compact.svg +15 -15
- data/app/assets/javascripts/arclight/arclight.js +1 -0
- data/app/assets/javascripts/arclight/collection_navigation.js +5 -2
- data/app/assets/javascripts/arclight/oembed_viewer.js +11 -4
- data/app/assets/javascripts/arclight/search_results.js +15 -0
- data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +6 -3
- data/app/assets/stylesheets/arclight/modules/layout.scss +24 -0
- data/app/assets/stylesheets/arclight/modules/mastheads.scss +33 -0
- data/app/helpers/arclight_helper.rb +1 -1
- data/app/models/concerns/arclight/search_behavior.rb +1 -1
- data/app/views/arclight/repositories/_in_person_repository.html.erb +1 -1
- data/app/views/catalog/_component_contents.html.erb +16 -0
- data/app/views/catalog/_component_overview.html.erb +0 -6
- data/app/views/catalog/_context_card.html.erb +1 -1
- data/app/views/catalog/_custom_metadata.html.erb +1 -1
- data/app/views/catalog/_index_default.html.erb +1 -1
- data/app/views/catalog/_index_header.html.erb +2 -2
- data/app/views/catalog/_index_header_hierarchy_default.html.erb +2 -2
- data/app/views/catalog/_index_hierarchy_default.html.erb +1 -1
- data/app/views/catalog/_results_histogram.html.erb +6 -1
- data/app/views/catalog/_show_breadcrumbs_default.html.erb +19 -5
- data/app/views/catalog/_show_default.html.erb +10 -0
- data/app/views/catalog/_show_sidebar.html.erb +0 -8
- data/app/views/catalog/_show_upper_metadata_collection.html.erb +1 -0
- data/app/views/catalog/_show_upper_metadata_default.html.erb +14 -0
- data/app/views/shared/_header_navbar.html.erb +56 -44
- data/app/views/shared/_main_menu_links.html.erb +1 -1
- data/arclight.gemspec +11 -7
- data/config/i18n-tasks.yml +132 -0
- data/config/locales/arclight.en.yml +53 -52
- data/lib/arclight/engine.rb +1 -0
- data/lib/arclight/hash_absolute_xpath.rb +57 -0
- data/lib/arclight/missing_id_strategy.rb +21 -0
- data/lib/arclight/normalized_date.rb +19 -10
- data/lib/arclight/repository.rb +3 -20
- data/lib/arclight/shared_indexing_behavior.rb +1 -1
- data/lib/arclight/solr_ead_indexer_ext.rb +5 -9
- data/lib/arclight/traject/ead2_config.rb +475 -0
- data/lib/arclight/version.rb +1 -1
- data/lib/generators/arclight/install_generator.rb +14 -0
- data/lib/generators/arclight/templates/catalog_controller.rb +43 -40
- data/lib/tasks/index.rake +4 -2
- data/solr/conf/schema.xml +7 -2
- data/tasks/arclight.rake +5 -1
- data/template.rb +1 -1
- metadata +94 -28
- data/app/views/catalog/_arclight_document_show_header.html.erb +0 -15
- data/app/views/catalog/_arclight_document_show_header_collection.html.erb +0 -12
- data/app/views/catalog/_search_within_form.html.erb +0 -16
- data/app/views/catalog/_show_header.html.erb +0 -5
data/lib/arclight/version.rb
CHANGED
@@ -19,6 +19,20 @@ module Arclight
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
+
def install_blacklight_locale_picker
|
23
|
+
gem 'blacklight-locale_picker'
|
24
|
+
|
25
|
+
Bundler.with_clean_env do
|
26
|
+
run 'bundle install'
|
27
|
+
end
|
28
|
+
|
29
|
+
generate 'blacklight:locale_picker:install'
|
30
|
+
|
31
|
+
inject_into_file 'app/helpers/application_helper.rb', after: 'include Blacklight::LocalePicker::LocaleHelper' do
|
32
|
+
"\n\n def additional_locale_routing_scopes\n [blacklight, arclight_engine]\n end"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
22
36
|
def install_blacklight_range_limit
|
23
37
|
generate 'blacklight_range_limit:install'
|
24
38
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
class CatalogController < ApplicationController
|
3
2
|
|
3
|
+
class CatalogController < ApplicationController
|
4
4
|
include Blacklight::Catalog
|
5
5
|
include Arclight::Catalog
|
6
6
|
include Arclight::FieldConfigHelpers
|
@@ -21,31 +21,31 @@ class CatalogController < ApplicationController
|
|
21
21
|
}
|
22
22
|
|
23
23
|
# solr path which will be added to solr base url before the other solr params.
|
24
|
-
#config.solr_path = 'select'
|
24
|
+
# config.solr_path = 'select'
|
25
25
|
|
26
26
|
# items to show per page, each number in the array represent another option to choose from.
|
27
|
-
#config.per_page = [10,20,50,100]
|
27
|
+
# config.per_page = [10,20,50,100]
|
28
28
|
|
29
|
-
## Default parameters to send on single-document requests to Solr. These settings are the
|
29
|
+
## Default parameters to send on single-document requests to Solr. These settings are the Blacklight defaults (see SearchHelper#solr_doc_params) or
|
30
30
|
## parameters included in the Blacklight-jetty document requestHandler.
|
31
31
|
#
|
32
|
-
#config.default_document_solr_params = {
|
32
|
+
# config.default_document_solr_params = {
|
33
33
|
# qt: 'document',
|
34
34
|
# ## These are hard-coded in the blacklight 'document' requestHandler
|
35
35
|
# # fl: '*',
|
36
36
|
# # rows: 1,
|
37
37
|
# # q: '{!term f=id v=$id}'
|
38
|
-
#}
|
38
|
+
# }
|
39
39
|
|
40
40
|
# solr field configuration for search results/index views
|
41
41
|
config.index.title_field = 'normalized_title_ssm'
|
42
42
|
config.index.display_type_field = 'level_ssm'
|
43
|
-
#config.index.thumbnail_field = 'thumbnail_path_ss'
|
43
|
+
# config.index.thumbnail_field = 'thumbnail_path_ss'
|
44
44
|
|
45
45
|
# solr field configuration for document/show views
|
46
|
-
#config.show.title_field = 'title_display'
|
47
|
-
|
48
|
-
#config.show.thumbnail_field = 'thumbnail_path_ss'
|
46
|
+
# config.show.title_field = 'title_display'
|
47
|
+
config.show.display_type_field = 'level_ssm'
|
48
|
+
# config.show.thumbnail_field = 'thumbnail_path_ss'
|
49
49
|
|
50
50
|
config.add_results_document_tool(:bookmark, partial: 'bookmark_control', if: :render_bookmarks_control?)
|
51
51
|
|
@@ -85,16 +85,16 @@ class CatalogController < ApplicationController
|
|
85
85
|
# (useful when user clicks "more" on a large facet and wants to navigate alphabetically across a large set of results)
|
86
86
|
# :index_range can be an array or range of prefixes that will be used to create the navigation (note: It is case sensitive when searching values)
|
87
87
|
|
88
|
-
config.add_facet_field 'collection_sim', label: 'Collection'
|
89
|
-
config.add_facet_field 'creator_ssim', label: 'Creator'
|
88
|
+
config.add_facet_field 'collection_sim', label: 'Collection', limit: 10
|
89
|
+
config.add_facet_field 'creator_ssim', label: 'Creator', limit: 10
|
90
90
|
config.add_facet_field 'creators_ssim', label: 'Creator', show: false
|
91
91
|
config.add_facet_field 'date_range_sim', label: 'Date range', range: true
|
92
|
-
config.add_facet_field 'level_sim', label: 'Level'
|
93
|
-
config.add_facet_field 'names_ssim', label: 'Names'
|
94
|
-
config.add_facet_field 'repository_sim', label: 'Repository'
|
95
|
-
config.add_facet_field 'geogname_sim', label: 'Place'
|
96
|
-
config.add_facet_field 'places_ssim', label: 'Places', show:false
|
97
|
-
config.add_facet_field 'access_subjects_ssim', label: 'Subject'
|
92
|
+
config.add_facet_field 'level_sim', label: 'Level', limit: 10
|
93
|
+
config.add_facet_field 'names_ssim', label: 'Names', limit: 10
|
94
|
+
config.add_facet_field 'repository_sim', label: 'Repository', limit: 10
|
95
|
+
config.add_facet_field 'geogname_sim', label: 'Place', limit: 10
|
96
|
+
config.add_facet_field 'places_ssim', label: 'Places', show: false
|
97
|
+
config.add_facet_field 'access_subjects_ssim', label: 'Subject', limit: 10
|
98
98
|
|
99
99
|
# Have BL send all facet field names to Solr, which has been the default
|
100
100
|
# previously. Simply remove these lines if you'd rather use Solr request
|
@@ -198,29 +198,29 @@ class CatalogController < ApplicationController
|
|
198
198
|
config.index.partials.insert(0, :index_breadcrumb)
|
199
199
|
config.index.partials.insert(0, :arclight_document_index_header)
|
200
200
|
|
201
|
-
config.show.metadata_partials = [
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
201
|
+
config.show.metadata_partials = %i[
|
202
|
+
summary_field
|
203
|
+
access_field
|
204
|
+
background_field
|
205
|
+
related_field
|
206
|
+
indexed_terms_field
|
207
207
|
]
|
208
208
|
|
209
|
-
config.show.context_sidebar_items = [
|
210
|
-
|
211
|
-
|
212
|
-
|
209
|
+
config.show.context_sidebar_items = %i[
|
210
|
+
in_person_field
|
211
|
+
terms_field
|
212
|
+
cite_field
|
213
213
|
]
|
214
214
|
|
215
|
-
config.show.component_metadata_partials = [
|
216
|
-
|
217
|
-
|
215
|
+
config.show.component_metadata_partials = %i[
|
216
|
+
component_field
|
217
|
+
component_indexed_terms_field
|
218
218
|
]
|
219
219
|
|
220
|
-
config.show.component_sidebar_items = [
|
221
|
-
|
222
|
-
|
223
|
-
|
220
|
+
config.show.component_sidebar_items = %i[
|
221
|
+
in_person_field
|
222
|
+
component_terms_field
|
223
|
+
cite_field
|
224
224
|
]
|
225
225
|
|
226
226
|
# Component Show Page - Metadata Section
|
@@ -243,7 +243,7 @@ class CatalogController < ApplicationController
|
|
243
243
|
}
|
244
244
|
|
245
245
|
# Collection Show Page - Indexed Terms Section
|
246
|
-
config.add_component_indexed_terms_field 'access_subjects_ssim', label: 'Subjects', :
|
246
|
+
config.add_component_indexed_terms_field 'access_subjects_ssim', label: 'Subjects', link_to_facet: true, separator_options: {
|
247
247
|
words_connector: '<br/>',
|
248
248
|
two_words_connector: '<br/>',
|
249
249
|
last_word_connector: '<br/>'
|
@@ -255,7 +255,7 @@ class CatalogController < ApplicationController
|
|
255
255
|
last_word_connector: '<br/>'
|
256
256
|
}, helper_method: :link_to_name_facet
|
257
257
|
|
258
|
-
config.add_component_indexed_terms_field 'places_ssim', label: 'Places', :
|
258
|
+
config.add_component_indexed_terms_field 'places_ssim', label: 'Places', link_to_facet: true, separator_options: {
|
259
259
|
words_connector: '<br/>',
|
260
260
|
two_words_connector: '<br/>',
|
261
261
|
last_word_connector: '<br/>'
|
@@ -266,7 +266,7 @@ class CatalogController < ApplicationController
|
|
266
266
|
config.add_component_terms_field 'parent_access_terms_ssm', label: 'Terms of Access'
|
267
267
|
|
268
268
|
# Collection Show Page - Summary Section
|
269
|
-
config.add_summary_field 'creators_ssim', label: 'Creator', :
|
269
|
+
config.add_summary_field 'creators_ssim', label: 'Creator', link_to_facet: true
|
270
270
|
config.add_summary_field 'abstract_ssm', label: 'Abstract'
|
271
271
|
config.add_summary_field 'extent_ssm', label: 'Extent'
|
272
272
|
config.add_summary_field 'language_ssm', label: 'Language'
|
@@ -304,7 +304,7 @@ class CatalogController < ApplicationController
|
|
304
304
|
config.add_related_field 'originalsloc_ssm', label: 'Location of originals', helper_method: :paragraph_separator
|
305
305
|
|
306
306
|
# Collection Show Page - Indexed Terms Section
|
307
|
-
config.add_indexed_terms_field 'access_subjects_ssim', label: 'Subjects', :
|
307
|
+
config.add_indexed_terms_field 'access_subjects_ssim', label: 'Subjects', link_to_facet: true, separator_options: {
|
308
308
|
words_connector: '<br/>',
|
309
309
|
two_words_connector: '<br/>',
|
310
310
|
last_word_connector: '<br/>'
|
@@ -316,7 +316,7 @@ class CatalogController < ApplicationController
|
|
316
316
|
last_word_connector: '<br/>'
|
317
317
|
}, helper_method: :link_to_name_facet
|
318
318
|
|
319
|
-
config.add_indexed_terms_field 'places_ssim', label: 'Places', :
|
319
|
+
config.add_indexed_terms_field 'places_ssim', label: 'Places', link_to_facet: true, separator_options: {
|
320
320
|
words_connector: '<br/>',
|
321
321
|
two_words_connector: '<br/>',
|
322
322
|
last_word_connector: '<br/>'
|
@@ -334,7 +334,10 @@ class CatalogController < ApplicationController
|
|
334
334
|
end
|
335
335
|
|
336
336
|
# Insert the breadcrumbs at the beginning
|
337
|
+
config.show.partials.unshift(:show_upper_metadata)
|
337
338
|
config.show.partials.unshift(:show_breadcrumbs)
|
339
|
+
config.show.partials.delete(:show_header)
|
340
|
+
|
338
341
|
|
339
342
|
##
|
340
343
|
# Hierarchy Index View
|
data/lib/tasks/index.rake
CHANGED
@@ -19,9 +19,11 @@ namespace :arclight do
|
|
19
19
|
desc 'Index an EAD document, use FILE=<path/to/ead.xml> and REPOSITORY_ID=<myid>'
|
20
20
|
task :index do
|
21
21
|
raise 'Please specify your EAD document, ex. FILE=<path/to/ead.xml>' unless ENV['FILE']
|
22
|
-
indexer = load_indexer
|
23
22
|
print "Loading #{ENV['FILE']} into index...\n"
|
24
|
-
|
23
|
+
load_indexer # a leftover construct from solr_ead. Likely will need to be removed/modified when we remove that
|
24
|
+
elapsed_time = Benchmark.realtime {
|
25
|
+
`bundle exec traject -u #{ENV['SOLR_URL']} -i xml -c #{Arclight::Engine.root}/lib/arclight/traject/ead2_config.rb #{ENV['FILE']}`
|
26
|
+
}
|
25
27
|
print "Indexed #{ENV['FILE']} (in #{elapsed_time.round(3)} secs).\n"
|
26
28
|
end
|
27
29
|
|
data/solr/conf/schema.xml
CHANGED
@@ -308,7 +308,6 @@
|
|
308
308
|
<analyzer>
|
309
309
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
310
310
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
311
|
-
<filter class="solr.StandardFilterFactory"/>
|
312
311
|
<filter class="solr.LowerCaseFilterFactory"/>
|
313
312
|
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
314
313
|
</analyzer>
|
@@ -317,7 +316,6 @@
|
|
317
316
|
<fieldType class="solr.TextField" name="textSuggest" positionIncrementGap="100">
|
318
317
|
<analyzer>
|
319
318
|
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
320
|
-
<filter class="solr.StandardFilterFactory"/>
|
321
319
|
<filter class="solr.LowerCaseFilterFactory"/>
|
322
320
|
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
323
321
|
</analyzer>
|
@@ -430,6 +428,9 @@
|
|
430
428
|
See http://wiki.apache.org/solr/SpatialSearch
|
431
429
|
-->
|
432
430
|
<fieldtype name="geohash" class="solr.GeoHashField"/>
|
431
|
+
|
432
|
+
<fieldType name="_nest_path_" class="solr.NestPathField" />
|
433
|
+
|
433
434
|
</types>
|
434
435
|
|
435
436
|
|
@@ -463,6 +464,10 @@
|
|
463
464
|
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
464
465
|
<!-- default, catch all search field -->
|
465
466
|
<field name="text" type="text" indexed="true" stored="true" multiValued="true"/>
|
467
|
+
|
468
|
+
<field name="_root_" type="string" indexed="true" stored="true" docValues="false" />
|
469
|
+
<field name="_nest_parent_" type="string" indexed="true" stored="true"/>
|
470
|
+
<field name="_nest_path_" type="_nest_path_" indexed="true" stored="true"/>
|
466
471
|
|
467
472
|
<!-- Dynamic field definitions. If a field name is not found, dynamicFields
|
468
473
|
will be used if the name matches any of the patterns.
|
data/tasks/arclight.rake
CHANGED
@@ -5,6 +5,8 @@ require 'engine_cart/rake_task'
|
|
5
5
|
require 'rspec/core/rake_task'
|
6
6
|
require 'arclight'
|
7
7
|
|
8
|
+
class DependencyNotInstalled < StandardError; end
|
9
|
+
|
8
10
|
desc 'Run test suite'
|
9
11
|
task ci: %w[arclight:generate] do
|
10
12
|
SolrWrapper.wrap do |solr|
|
@@ -20,7 +22,9 @@ end
|
|
20
22
|
|
21
23
|
desc 'Run Eslint'
|
22
24
|
task :eslint do
|
23
|
-
|
25
|
+
raise DependencyNotInstalled, 'ESLint not found. Please run yarn install.' unless File.exist?('./node_modules/.bin/eslint')
|
26
|
+
|
27
|
+
exit 1 unless system './node_modules/.bin/eslint app/assets/javascripts'
|
24
28
|
end
|
25
29
|
|
26
30
|
namespace :arclight do
|
data/template.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arclight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darren Hardy
|
@@ -11,36 +11,42 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: blacklight
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '7.0'
|
23
|
+
- - ">="
|
21
24
|
- !ruby/object:Gem::Version
|
22
|
-
version: 7.0.
|
25
|
+
version: 7.0.1
|
23
26
|
type: :runtime
|
24
27
|
prerelease: false
|
25
28
|
version_requirements: !ruby/object:Gem::Requirement
|
26
29
|
requirements:
|
27
|
-
- -
|
30
|
+
- - "~>"
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version: 7.0
|
32
|
+
version: '7.0'
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 7.0.1
|
30
36
|
- !ruby/object:Gem::Dependency
|
31
37
|
name: blacklight_range_limit
|
32
38
|
requirement: !ruby/object:Gem::Requirement
|
33
39
|
requirements:
|
34
|
-
- -
|
40
|
+
- - "~>"
|
35
41
|
- !ruby/object:Gem::Version
|
36
|
-
version: 7.
|
42
|
+
version: '7.1'
|
37
43
|
type: :runtime
|
38
44
|
prerelease: false
|
39
45
|
version_requirements: !ruby/object:Gem::Requirement
|
40
46
|
requirements:
|
41
|
-
- -
|
47
|
+
- - "~>"
|
42
48
|
- !ruby/object:Gem::Version
|
43
|
-
version: 7.
|
49
|
+
version: '7.1'
|
44
50
|
- !ruby/object:Gem::Dependency
|
45
51
|
name: rails
|
46
52
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,27 +76,27 @@ dependencies:
|
|
70
76
|
- !ruby/object:Gem::Version
|
71
77
|
version: '0'
|
72
78
|
- !ruby/object:Gem::Dependency
|
73
|
-
name:
|
79
|
+
name: traject
|
74
80
|
requirement: !ruby/object:Gem::Requirement
|
75
81
|
requirements:
|
76
82
|
- - "~>"
|
77
83
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
79
|
-
type: :
|
84
|
+
version: '3.0'
|
85
|
+
type: :runtime
|
80
86
|
prerelease: false
|
81
87
|
version_requirements: !ruby/object:Gem::Requirement
|
82
88
|
requirements:
|
83
89
|
- - "~>"
|
84
90
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
91
|
+
version: '3.0'
|
86
92
|
- !ruby/object:Gem::Dependency
|
87
|
-
name:
|
93
|
+
name: traject_plus
|
88
94
|
requirement: !ruby/object:Gem::Requirement
|
89
95
|
requirements:
|
90
96
|
- - ">="
|
91
97
|
- !ruby/object:Gem::Version
|
92
98
|
version: '0'
|
93
|
-
type: :
|
99
|
+
type: :runtime
|
94
100
|
prerelease: false
|
95
101
|
version_requirements: !ruby/object:Gem::Requirement
|
96
102
|
requirements:
|
@@ -98,7 +104,21 @@ dependencies:
|
|
98
104
|
- !ruby/object:Gem::Version
|
99
105
|
version: '0'
|
100
106
|
- !ruby/object:Gem::Dependency
|
101
|
-
name:
|
107
|
+
name: bundler
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '1.14'
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '1.14'
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: capybara
|
102
122
|
requirement: !ruby/object:Gem::Requirement
|
103
123
|
requirements:
|
104
124
|
- - ">="
|
@@ -126,7 +146,7 @@ dependencies:
|
|
126
146
|
- !ruby/object:Gem::Version
|
127
147
|
version: '0'
|
128
148
|
- !ruby/object:Gem::Dependency
|
129
|
-
name:
|
149
|
+
name: i18n-tasks
|
130
150
|
requirement: !ruby/object:Gem::Requirement
|
131
151
|
requirements:
|
132
152
|
- - ">="
|
@@ -159,28 +179,28 @@ dependencies:
|
|
159
179
|
requirements:
|
160
180
|
- - "~>"
|
161
181
|
- !ruby/object:Gem::Version
|
162
|
-
version: 0.
|
182
|
+
version: 0.74.0
|
163
183
|
type: :development
|
164
184
|
prerelease: false
|
165
185
|
version_requirements: !ruby/object:Gem::Requirement
|
166
186
|
requirements:
|
167
187
|
- - "~>"
|
168
188
|
- !ruby/object:Gem::Version
|
169
|
-
version: 0.
|
189
|
+
version: 0.74.0
|
170
190
|
- !ruby/object:Gem::Dependency
|
171
191
|
name: rubocop-rspec
|
172
192
|
requirement: !ruby/object:Gem::Requirement
|
173
193
|
requirements:
|
174
194
|
- - "~>"
|
175
195
|
- !ruby/object:Gem::Version
|
176
|
-
version: 1.
|
196
|
+
version: '1.35'
|
177
197
|
type: :development
|
178
198
|
prerelease: false
|
179
199
|
version_requirements: !ruby/object:Gem::Requirement
|
180
200
|
requirements:
|
181
201
|
- - "~>"
|
182
202
|
- !ruby/object:Gem::Version
|
183
|
-
version: 1.
|
203
|
+
version: '1.35'
|
184
204
|
- !ruby/object:Gem::Dependency
|
185
205
|
name: rspec-rails
|
186
206
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,6 +215,34 @@ dependencies:
|
|
195
215
|
- - "~>"
|
196
216
|
- !ruby/object:Gem::Version
|
197
217
|
version: '3.0'
|
218
|
+
- !ruby/object:Gem::Dependency
|
219
|
+
name: selenium-webdriver
|
220
|
+
requirement: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - ">="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '0'
|
225
|
+
type: :development
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
- !ruby/object:Gem::Dependency
|
233
|
+
name: simplecov
|
234
|
+
requirement: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '0'
|
239
|
+
type: :development
|
240
|
+
prerelease: false
|
241
|
+
version_requirements: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - ">="
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
198
246
|
- !ruby/object:Gem::Dependency
|
199
247
|
name: solr_wrapper
|
200
248
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,6 +257,20 @@ dependencies:
|
|
209
257
|
- - ">="
|
210
258
|
- !ruby/object:Gem::Version
|
211
259
|
version: '0'
|
260
|
+
- !ruby/object:Gem::Dependency
|
261
|
+
name: webdrivers
|
262
|
+
requirement: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ">="
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: '0'
|
267
|
+
type: :development
|
268
|
+
prerelease: false
|
269
|
+
version_requirements: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - ">="
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: '0'
|
212
274
|
description: ''
|
213
275
|
email:
|
214
276
|
- drh@stanford.edu
|
@@ -223,6 +285,7 @@ files:
|
|
223
285
|
- ".gitignore"
|
224
286
|
- ".rspec"
|
225
287
|
- ".rubocop.yml"
|
288
|
+
- ".rubocop_todo.yml"
|
226
289
|
- ".solr_wrapper"
|
227
290
|
- ".travis.yml"
|
228
291
|
- CONTRIBUTING.md
|
@@ -238,6 +301,7 @@ files:
|
|
238
301
|
- app/assets/javascripts/arclight/collection_scrollspy.js
|
239
302
|
- app/assets/javascripts/arclight/component_ancestors.js
|
240
303
|
- app/assets/javascripts/arclight/oembed_viewer.js
|
304
|
+
- app/assets/javascripts/arclight/search_results.js
|
241
305
|
- app/assets/javascripts/arclight/truncator.js.erb
|
242
306
|
- app/assets/stylesheets/arclight/application.scss
|
243
307
|
- app/assets/stylesheets/arclight/bootstrap_overrides.scss
|
@@ -274,8 +338,6 @@ files:
|
|
274
338
|
- app/views/catalog/_arclight_document_index_header.html.erb
|
275
339
|
- app/views/catalog/_arclight_document_index_header_hierarchy_default.html.erb
|
276
340
|
- app/views/catalog/_arclight_document_index_header_online_contents_default.html.erb
|
277
|
-
- app/views/catalog/_arclight_document_show_header.html.erb
|
278
|
-
- app/views/catalog/_arclight_document_show_header_collection.html.erb
|
279
341
|
- app/views/catalog/_arclight_index_compact_default.html.erb
|
280
342
|
- app/views/catalog/_arclight_online_content_indicator.html.erb
|
281
343
|
- app/views/catalog/_arclight_rangelimit.html.erb
|
@@ -285,6 +347,7 @@ files:
|
|
285
347
|
- app/views/catalog/_collection_downloads.html.erb
|
286
348
|
- app/views/catalog/_collection_online_contents.html.erb
|
287
349
|
- app/views/catalog/_collection_overview.html.erb
|
350
|
+
- app/views/catalog/_component_contents.html.erb
|
288
351
|
- app/views/catalog/_component_overview.html.erb
|
289
352
|
- app/views/catalog/_context_card.html.erb
|
290
353
|
- app/views/catalog/_context_sidebar.html.erb
|
@@ -300,13 +363,13 @@ files:
|
|
300
363
|
- app/views/catalog/_results_histogram.html.erb
|
301
364
|
- app/views/catalog/_search_results.html.erb
|
302
365
|
- app/views/catalog/_search_results_repository.html.erb
|
303
|
-
- app/views/catalog/_search_within_form.html.erb
|
304
366
|
- app/views/catalog/_show_breadcrumbs_default.html.erb
|
305
367
|
- app/views/catalog/_show_collection.html.erb
|
306
368
|
- app/views/catalog/_show_component_sidebar.html.erb
|
307
369
|
- app/views/catalog/_show_default.html.erb
|
308
|
-
- app/views/catalog/_show_header.html.erb
|
309
370
|
- app/views/catalog/_show_sidebar.html.erb
|
371
|
+
- app/views/catalog/_show_upper_metadata_collection.html.erb
|
372
|
+
- app/views/catalog/_show_upper_metadata_default.html.erb
|
310
373
|
- app/views/catalog/index.html.erb
|
311
374
|
- app/views/layouts/catalog_result.html.erb
|
312
375
|
- app/views/shared/_breadcrumbs.html.erb
|
@@ -317,6 +380,7 @@ files:
|
|
317
380
|
- bin/console
|
318
381
|
- bin/rails
|
319
382
|
- bin/setup
|
383
|
+
- config/i18n-tasks.yml
|
320
384
|
- config/locales/arclight.en.yml
|
321
385
|
- config/routes.rb
|
322
386
|
- lib/arclight.rb
|
@@ -325,7 +389,9 @@ files:
|
|
325
389
|
- lib/arclight/digital_object.rb
|
326
390
|
- lib/arclight/engine.rb
|
327
391
|
- lib/arclight/exceptions.rb
|
392
|
+
- lib/arclight/hash_absolute_xpath.rb
|
328
393
|
- lib/arclight/indexer.rb
|
394
|
+
- lib/arclight/missing_id_strategy.rb
|
329
395
|
- lib/arclight/normalized_date.rb
|
330
396
|
- lib/arclight/normalized_id.rb
|
331
397
|
- lib/arclight/normalized_title.rb
|
@@ -333,6 +399,7 @@ files:
|
|
333
399
|
- lib/arclight/shared_indexing_behavior.rb
|
334
400
|
- lib/arclight/shared_terminology_behavior.rb
|
335
401
|
- lib/arclight/solr_ead_indexer_ext.rb
|
402
|
+
- lib/arclight/traject/ead2_config.rb
|
336
403
|
- lib/arclight/version.rb
|
337
404
|
- lib/arclight/viewer.rb
|
338
405
|
- lib/arclight/viewers/oembed.rb
|
@@ -385,8 +452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
385
452
|
- !ruby/object:Gem::Version
|
386
453
|
version: '0'
|
387
454
|
requirements: []
|
388
|
-
|
389
|
-
rubygems_version: 2.6.11
|
455
|
+
rubygems_version: 3.0.3
|
390
456
|
signing_key:
|
391
457
|
specification_version: 4
|
392
458
|
summary: ''
|