arclight 0.1.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 +5 -5
- data/.all-contributorsrc +450 -0
- data/.codeclimate.yml +5 -0
- data/.eslintrc +14 -4
- data/.github/workflows/ruby.yml +51 -0
- data/.gitignore +2 -0
- data/.rspec +0 -1
- data/.rubocop.yml +503 -48
- data/.rubocop_todo.yml +122 -0
- data/.solr_wrapper +2 -1
- data/CONTRIBUTING.md +5 -5
- data/CONTRIBUTORS.md +79 -0
- data/Gemfile +15 -10
- data/README.md +47 -32
- 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 -9
- 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 -3
- data/app/assets/stylesheets/arclight/build.scss +4 -0
- data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +117 -136
- data/app/assets/stylesheets/arclight/modules/highlights.scss +3 -2
- data/app/assets/stylesheets/arclight/modules/icons.scss +20 -0
- data/app/assets/stylesheets/arclight/modules/layout.scss +203 -16
- data/app/assets/stylesheets/arclight/modules/mastheads.scss +27 -45
- 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 +200 -25
- data/app/assets/stylesheets/arclight/modules/show_collection.scss +21 -61
- 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 +22 -17
- data/config/breadcrumbs.rb +24 -0
- data/config/i18n-tasks.yml +134 -0
- data/config/importmap.rb +3 -0
- data/config/locales/arclight.en.yml +90 -55
- 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 +23 -31
- data/lib/arclight/exceptions.rb +1 -0
- data/lib/arclight/hash_absolute_xpath.rb +62 -0
- data/lib/arclight/level_label.rb +46 -0
- data/lib/arclight/missing_id_strategy.rb +21 -0
- data/lib/arclight/normalized_date.rb +24 -20
- data/lib/arclight/normalized_id.rb +7 -2
- data/lib/arclight/normalized_title.rb +3 -0
- data/lib/arclight/repository.rb +72 -47
- 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 +316 -0
- 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 +110 -10
- data/lib/generators/arclight/templates/arclight.scss +6 -3
- data/lib/generators/arclight/templates/catalog_controller.rb +249 -173
- 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 -28
- data/package.json +15 -9
- data/solr/conf/schema.xml +101 -332
- data/solr/conf/solrconfig.xml +99 -164
- data/tasks/arclight.rake +22 -11
- data/template.rb +6 -11
- metadata +230 -105
- data/.travis.yml +0 -33
- data/app/assets/javascripts/arclight/collection_context.js +0 -18
- data/app/assets/javascripts/arclight/collection_navigation.js +0 -114
- 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 -39
- 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 -16
- 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_document_show_header.html.erb +0 -15
- data/app/views/catalog/_arclight_document_show_header_collection.html.erb +0 -12
- 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 -17
- 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_overview.html.erb +0 -46
- 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 -10
- data/app/views/catalog/_search_results.html.erb +0 -31
- data/app/views/catalog/_search_within_form.html.erb +0 -16
- data/app/views/catalog/_show_breadcrumbs_default.html.erb +0 -7
- data/app/views/catalog/_show_collection.html.erb +0 -40
- data/app/views/catalog/_show_component_sidebar.html.erb +0 -12
- data/app/views/catalog/_show_default.html.erb +0 -32
- data/app/views/catalog/_show_header.html.erb +0 -5
- data/app/views/catalog/_show_sidebar.html.erb +0 -30
- 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 -54
- data/lib/arclight/custom_component.rb +0 -98
- 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 -159
- 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
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: arclight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Darren Hardy
|
|
8
8
|
- Jessie Keck
|
|
9
9
|
- Gordon Leacock
|
|
10
10
|
- Jack Reed
|
|
11
|
-
autorequire:
|
|
11
|
+
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2025-08-11 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: blacklight
|
|
@@ -19,16 +19,22 @@ dependencies:
|
|
|
19
19
|
requirements:
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
22
|
+
version: 8.0.0
|
|
23
|
+
- - "<"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '9'
|
|
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:
|
|
32
|
+
version: 8.0.0
|
|
33
|
+
- - "<"
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '9'
|
|
30
36
|
- !ruby/object:Gem::Dependency
|
|
31
|
-
name:
|
|
37
|
+
name: gretel
|
|
32
38
|
requirement: !ruby/object:Gem::Requirement
|
|
33
39
|
requirements:
|
|
34
40
|
- - ">="
|
|
@@ -45,46 +51,52 @@ dependencies:
|
|
|
45
51
|
name: rails
|
|
46
52
|
requirement: !ruby/object:Gem::Requirement
|
|
47
53
|
requirements:
|
|
48
|
-
- - "
|
|
54
|
+
- - ">="
|
|
49
55
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: '
|
|
56
|
+
version: '7.1'
|
|
57
|
+
- - "<"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '9'
|
|
51
60
|
type: :runtime
|
|
52
61
|
prerelease: false
|
|
53
62
|
version_requirements: !ruby/object:Gem::Requirement
|
|
54
63
|
requirements:
|
|
55
|
-
- - "
|
|
64
|
+
- - ">="
|
|
56
65
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: '
|
|
66
|
+
version: '7.1'
|
|
67
|
+
- - "<"
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '9'
|
|
58
70
|
- !ruby/object:Gem::Dependency
|
|
59
|
-
name:
|
|
71
|
+
name: traject
|
|
60
72
|
requirement: !ruby/object:Gem::Requirement
|
|
61
73
|
requirements:
|
|
62
|
-
- - "
|
|
74
|
+
- - "~>"
|
|
63
75
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: '0'
|
|
76
|
+
version: '3.0'
|
|
65
77
|
type: :runtime
|
|
66
78
|
prerelease: false
|
|
67
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
80
|
requirements:
|
|
69
|
-
- - "
|
|
81
|
+
- - "~>"
|
|
70
82
|
- !ruby/object:Gem::Version
|
|
71
|
-
version: '0'
|
|
83
|
+
version: '3.0'
|
|
72
84
|
- !ruby/object:Gem::Dependency
|
|
73
|
-
name:
|
|
85
|
+
name: traject_plus
|
|
74
86
|
requirement: !ruby/object:Gem::Requirement
|
|
75
87
|
requirements:
|
|
76
88
|
- - "~>"
|
|
77
89
|
- !ruby/object:Gem::Version
|
|
78
|
-
version: '
|
|
79
|
-
type: :
|
|
90
|
+
version: '2.0'
|
|
91
|
+
type: :runtime
|
|
80
92
|
prerelease: false
|
|
81
93
|
version_requirements: !ruby/object:Gem::Requirement
|
|
82
94
|
requirements:
|
|
83
95
|
- - "~>"
|
|
84
96
|
- !ruby/object:Gem::Version
|
|
85
|
-
version: '
|
|
97
|
+
version: '2.0'
|
|
86
98
|
- !ruby/object:Gem::Dependency
|
|
87
|
-
name:
|
|
99
|
+
name: bundler
|
|
88
100
|
requirement: !ruby/object:Gem::Requirement
|
|
89
101
|
requirements:
|
|
90
102
|
- - ">="
|
|
@@ -98,7 +110,7 @@ dependencies:
|
|
|
98
110
|
- !ruby/object:Gem::Version
|
|
99
111
|
version: '0'
|
|
100
112
|
- !ruby/object:Gem::Dependency
|
|
101
|
-
name:
|
|
113
|
+
name: capybara
|
|
102
114
|
requirement: !ruby/object:Gem::Requirement
|
|
103
115
|
requirements:
|
|
104
116
|
- - ">="
|
|
@@ -126,7 +138,7 @@ dependencies:
|
|
|
126
138
|
- !ruby/object:Gem::Version
|
|
127
139
|
version: '0'
|
|
128
140
|
- !ruby/object:Gem::Dependency
|
|
129
|
-
name:
|
|
141
|
+
name: i18n-tasks
|
|
130
142
|
requirement: !ruby/object:Gem::Requirement
|
|
131
143
|
requirements:
|
|
132
144
|
- - ">="
|
|
@@ -143,58 +155,114 @@ dependencies:
|
|
|
143
155
|
name: rake
|
|
144
156
|
requirement: !ruby/object:Gem::Requirement
|
|
145
157
|
requirements:
|
|
146
|
-
- - "
|
|
158
|
+
- - ">="
|
|
147
159
|
- !ruby/object:Gem::Version
|
|
148
160
|
version: '12.0'
|
|
149
161
|
type: :development
|
|
150
162
|
prerelease: false
|
|
151
163
|
version_requirements: !ruby/object:Gem::Requirement
|
|
152
164
|
requirements:
|
|
153
|
-
- - "
|
|
165
|
+
- - ">="
|
|
154
166
|
- !ruby/object:Gem::Version
|
|
155
167
|
version: '12.0'
|
|
168
|
+
- !ruby/object:Gem::Dependency
|
|
169
|
+
name: rspec-rails
|
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
|
171
|
+
requirements:
|
|
172
|
+
- - ">="
|
|
173
|
+
- !ruby/object:Gem::Version
|
|
174
|
+
version: '0'
|
|
175
|
+
type: :development
|
|
176
|
+
prerelease: false
|
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
178
|
+
requirements:
|
|
179
|
+
- - ">="
|
|
180
|
+
- !ruby/object:Gem::Version
|
|
181
|
+
version: '0'
|
|
156
182
|
- !ruby/object:Gem::Dependency
|
|
157
183
|
name: rubocop
|
|
158
184
|
requirement: !ruby/object:Gem::Requirement
|
|
159
185
|
requirements:
|
|
160
186
|
- - "~>"
|
|
161
187
|
- !ruby/object:Gem::Version
|
|
162
|
-
version:
|
|
188
|
+
version: '1.8'
|
|
163
189
|
type: :development
|
|
164
190
|
prerelease: false
|
|
165
191
|
version_requirements: !ruby/object:Gem::Requirement
|
|
166
192
|
requirements:
|
|
167
193
|
- - "~>"
|
|
168
194
|
- !ruby/object:Gem::Version
|
|
169
|
-
version:
|
|
195
|
+
version: '1.8'
|
|
170
196
|
- !ruby/object:Gem::Dependency
|
|
171
|
-
name: rubocop-
|
|
197
|
+
name: rubocop-rails
|
|
172
198
|
requirement: !ruby/object:Gem::Requirement
|
|
173
199
|
requirements:
|
|
174
200
|
- - "~>"
|
|
175
201
|
- !ruby/object:Gem::Version
|
|
176
|
-
version:
|
|
202
|
+
version: '2.8'
|
|
177
203
|
type: :development
|
|
178
204
|
prerelease: false
|
|
179
205
|
version_requirements: !ruby/object:Gem::Requirement
|
|
180
206
|
requirements:
|
|
181
207
|
- - "~>"
|
|
182
208
|
- !ruby/object:Gem::Version
|
|
183
|
-
version:
|
|
209
|
+
version: '2.8'
|
|
184
210
|
- !ruby/object:Gem::Dependency
|
|
185
|
-
name:
|
|
211
|
+
name: rubocop-rake
|
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
|
213
|
+
requirements:
|
|
214
|
+
- - ">="
|
|
215
|
+
- !ruby/object:Gem::Version
|
|
216
|
+
version: '0'
|
|
217
|
+
type: :development
|
|
218
|
+
prerelease: false
|
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
220
|
+
requirements:
|
|
221
|
+
- - ">="
|
|
222
|
+
- !ruby/object:Gem::Version
|
|
223
|
+
version: '0'
|
|
224
|
+
- !ruby/object:Gem::Dependency
|
|
225
|
+
name: rubocop-rspec
|
|
186
226
|
requirement: !ruby/object:Gem::Requirement
|
|
187
227
|
requirements:
|
|
188
228
|
- - "~>"
|
|
189
229
|
- !ruby/object:Gem::Version
|
|
190
|
-
version: '3
|
|
230
|
+
version: '2.3'
|
|
191
231
|
type: :development
|
|
192
232
|
prerelease: false
|
|
193
233
|
version_requirements: !ruby/object:Gem::Requirement
|
|
194
234
|
requirements:
|
|
195
235
|
- - "~>"
|
|
196
236
|
- !ruby/object:Gem::Version
|
|
197
|
-
version: '3
|
|
237
|
+
version: '2.3'
|
|
238
|
+
- !ruby/object:Gem::Dependency
|
|
239
|
+
name: selenium-webdriver
|
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
|
241
|
+
requirements:
|
|
242
|
+
- - ">="
|
|
243
|
+
- !ruby/object:Gem::Version
|
|
244
|
+
version: '0'
|
|
245
|
+
type: :development
|
|
246
|
+
prerelease: false
|
|
247
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
248
|
+
requirements:
|
|
249
|
+
- - ">="
|
|
250
|
+
- !ruby/object:Gem::Version
|
|
251
|
+
version: '0'
|
|
252
|
+
- !ruby/object:Gem::Dependency
|
|
253
|
+
name: simplecov
|
|
254
|
+
requirement: !ruby/object:Gem::Requirement
|
|
255
|
+
requirements:
|
|
256
|
+
- - ">="
|
|
257
|
+
- !ruby/object:Gem::Version
|
|
258
|
+
version: '0'
|
|
259
|
+
type: :development
|
|
260
|
+
prerelease: false
|
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
262
|
+
requirements:
|
|
263
|
+
- - ">="
|
|
264
|
+
- !ruby/object:Gem::Version
|
|
265
|
+
version: '0'
|
|
198
266
|
- !ruby/object:Gem::Dependency
|
|
199
267
|
name: solr_wrapper
|
|
200
268
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -219,45 +287,132 @@ executables: []
|
|
|
219
287
|
extensions: []
|
|
220
288
|
extra_rdoc_files: []
|
|
221
289
|
files:
|
|
290
|
+
- ".all-contributorsrc"
|
|
291
|
+
- ".codeclimate.yml"
|
|
222
292
|
- ".eslintrc"
|
|
293
|
+
- ".github/workflows/ruby.yml"
|
|
223
294
|
- ".gitignore"
|
|
224
295
|
- ".rspec"
|
|
225
296
|
- ".rubocop.yml"
|
|
297
|
+
- ".rubocop_todo.yml"
|
|
226
298
|
- ".solr_wrapper"
|
|
227
|
-
- ".travis.yml"
|
|
228
299
|
- CONTRIBUTING.md
|
|
300
|
+
- CONTRIBUTORS.md
|
|
229
301
|
- Gemfile
|
|
230
302
|
- LICENSE.txt
|
|
231
303
|
- README.md
|
|
232
304
|
- Rakefile
|
|
305
|
+
- app/assets/images/arclight/logo.png
|
|
306
|
+
- app/assets/images/blacklight/bookmark.svg
|
|
307
|
+
- app/assets/images/blacklight/collection.svg
|
|
233
308
|
- app/assets/images/blacklight/compact.svg
|
|
234
|
-
- app/assets/images/blacklight/
|
|
309
|
+
- app/assets/images/blacklight/container.svg
|
|
310
|
+
- app/assets/images/blacklight/ead.svg
|
|
311
|
+
- app/assets/images/blacklight/file.svg
|
|
312
|
+
- app/assets/images/blacklight/folder.svg
|
|
313
|
+
- app/assets/images/blacklight/list.svg
|
|
314
|
+
- app/assets/images/blacklight/minus.svg
|
|
315
|
+
- app/assets/images/blacklight/online.svg
|
|
316
|
+
- app/assets/images/blacklight/pdf.svg
|
|
317
|
+
- app/assets/images/blacklight/plus.svg
|
|
318
|
+
- app/assets/images/blacklight/repository.svg
|
|
235
319
|
- app/assets/javascripts/arclight/arclight.js
|
|
236
|
-
- app/assets/javascripts/arclight/
|
|
237
|
-
- app/assets/javascripts/arclight/
|
|
238
|
-
- app/assets/javascripts/arclight/collection_scrollspy.js
|
|
239
|
-
- app/assets/javascripts/arclight/component_ancestors.js
|
|
240
|
-
- app/assets/javascripts/arclight/oembed_viewer.js
|
|
241
|
-
- app/assets/javascripts/arclight/truncator.js.erb
|
|
320
|
+
- app/assets/javascripts/arclight/oembed_controller.js
|
|
321
|
+
- app/assets/javascripts/arclight/truncate_controller.js
|
|
242
322
|
- app/assets/stylesheets/arclight/application.scss
|
|
243
|
-
- app/assets/stylesheets/arclight/
|
|
323
|
+
- app/assets/stylesheets/arclight/build.scss
|
|
244
324
|
- app/assets/stylesheets/arclight/modules/collection_search.scss
|
|
245
325
|
- app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss
|
|
246
326
|
- app/assets/stylesheets/arclight/modules/highlights.scss
|
|
327
|
+
- app/assets/stylesheets/arclight/modules/icons.scss
|
|
247
328
|
- app/assets/stylesheets/arclight/modules/layout.scss
|
|
248
329
|
- app/assets/stylesheets/arclight/modules/mastheads.scss
|
|
249
330
|
- app/assets/stylesheets/arclight/modules/repositories.scss
|
|
250
331
|
- app/assets/stylesheets/arclight/modules/repository_card.scss
|
|
332
|
+
- app/assets/stylesheets/arclight/modules/search_form.scss
|
|
251
333
|
- app/assets/stylesheets/arclight/modules/search_results.scss
|
|
252
334
|
- app/assets/stylesheets/arclight/modules/show_collection.scss
|
|
253
|
-
- app/assets/stylesheets/arclight/modules/
|
|
335
|
+
- app/assets/stylesheets/arclight/modules/truncator.scss
|
|
336
|
+
- app/assets/stylesheets/arclight/responsive.scss
|
|
254
337
|
- app/assets/stylesheets/arclight/variables.scss
|
|
338
|
+
- app/components/arclight/access_component.html.erb
|
|
339
|
+
- app/components/arclight/access_component.rb
|
|
340
|
+
- app/components/arclight/bookmark_component.html.erb
|
|
341
|
+
- app/components/arclight/bookmark_component.rb
|
|
342
|
+
- app/components/arclight/breadcrumb_component.rb
|
|
343
|
+
- app/components/arclight/breadcrumbs_hierarchy_component.html.erb
|
|
344
|
+
- app/components/arclight/breadcrumbs_hierarchy_component.rb
|
|
345
|
+
- app/components/arclight/collection_context_component.html.erb
|
|
346
|
+
- app/components/arclight/collection_context_component.rb
|
|
347
|
+
- app/components/arclight/collection_info_component.html.erb
|
|
348
|
+
- app/components/arclight/collection_info_component.rb
|
|
349
|
+
- app/components/arclight/collection_sidebar_component.html.erb
|
|
350
|
+
- app/components/arclight/collection_sidebar_component.rb
|
|
351
|
+
- app/components/arclight/constraints_component.html.erb
|
|
352
|
+
- app/components/arclight/constraints_component.rb
|
|
353
|
+
- app/components/arclight/document_collection_context_component.html.erb
|
|
354
|
+
- app/components/arclight/document_collection_context_component.rb
|
|
355
|
+
- app/components/arclight/document_collection_hierarchy_component.html.erb
|
|
356
|
+
- app/components/arclight/document_collection_hierarchy_component.rb
|
|
357
|
+
- app/components/arclight/document_component.html.erb
|
|
358
|
+
- app/components/arclight/document_component.rb
|
|
359
|
+
- app/components/arclight/document_components_hierarchy_component.html.erb
|
|
360
|
+
- app/components/arclight/document_components_hierarchy_component.rb
|
|
361
|
+
- app/components/arclight/document_download_component.html.erb
|
|
362
|
+
- app/components/arclight/document_download_component.rb
|
|
363
|
+
- app/components/arclight/embed_component.html.erb
|
|
364
|
+
- app/components/arclight/embed_component.rb
|
|
365
|
+
- app/components/arclight/expand_hierarchy_button_component.html.erb
|
|
366
|
+
- app/components/arclight/expand_hierarchy_button_component.rb
|
|
367
|
+
- app/components/arclight/group_component.html.erb
|
|
368
|
+
- app/components/arclight/group_component.rb
|
|
369
|
+
- app/components/arclight/header_component.html.erb
|
|
370
|
+
- app/components/arclight/header_component.rb
|
|
371
|
+
- app/components/arclight/index_metadata_field_component.html.erb
|
|
372
|
+
- app/components/arclight/index_metadata_field_component.rb
|
|
373
|
+
- app/components/arclight/masthead_component.html.erb
|
|
374
|
+
- app/components/arclight/masthead_component.rb
|
|
375
|
+
- app/components/arclight/metadata_section_component.html.erb
|
|
376
|
+
- app/components/arclight/metadata_section_component.rb
|
|
377
|
+
- app/components/arclight/oembed_viewer_component.html.erb
|
|
378
|
+
- app/components/arclight/oembed_viewer_component.rb
|
|
379
|
+
- app/components/arclight/online_content_filter_component.html.erb
|
|
380
|
+
- app/components/arclight/online_content_filter_component.rb
|
|
381
|
+
- app/components/arclight/online_status_indicator_component.rb
|
|
382
|
+
- app/components/arclight/repository_breadcrumb_component.html.erb
|
|
383
|
+
- app/components/arclight/repository_breadcrumb_component.rb
|
|
384
|
+
- app/components/arclight/repository_location_component.html.erb
|
|
385
|
+
- app/components/arclight/repository_location_component.rb
|
|
386
|
+
- app/components/arclight/search_bar_component.html.erb
|
|
387
|
+
- app/components/arclight/search_bar_component.rb
|
|
388
|
+
- app/components/arclight/search_result_breadcrumbs_component.html.erb
|
|
389
|
+
- app/components/arclight/search_result_breadcrumbs_component.rb
|
|
390
|
+
- app/components/arclight/search_result_component.html.erb
|
|
391
|
+
- app/components/arclight/search_result_component.rb
|
|
392
|
+
- app/components/arclight/search_result_title_component.html.erb
|
|
393
|
+
- app/components/arclight/search_result_title_component.rb
|
|
394
|
+
- app/components/arclight/sidebar_component.html.erb
|
|
395
|
+
- app/components/arclight/sidebar_component.rb
|
|
396
|
+
- app/components/arclight/upper_metadata_layout_component.rb
|
|
397
|
+
- app/components/blacklight/icons/bookmark_component.rb
|
|
398
|
+
- app/components/blacklight/icons/collection_component.rb
|
|
399
|
+
- app/components/blacklight/icons/compact_component.rb
|
|
400
|
+
- app/components/blacklight/icons/container_component.rb
|
|
401
|
+
- app/components/blacklight/icons/ead_component.rb
|
|
402
|
+
- app/components/blacklight/icons/file_component.rb
|
|
403
|
+
- app/components/blacklight/icons/folder_component.rb
|
|
404
|
+
- app/components/blacklight/icons/online_component.rb
|
|
405
|
+
- app/components/blacklight/icons/pdf_component.rb
|
|
406
|
+
- app/components/blacklight/icons/repository_component.rb
|
|
255
407
|
- app/controllers/arclight/repositories_controller.rb
|
|
256
|
-
- app/
|
|
257
|
-
- app/
|
|
408
|
+
- app/helpers/arclight/ead_format_helpers.rb
|
|
409
|
+
- app/helpers/arclight/field_config_helpers.rb
|
|
258
410
|
- app/helpers/arclight_helper.rb
|
|
411
|
+
- app/models/arclight/document_downloads.rb
|
|
259
412
|
- app/models/arclight/parent.rb
|
|
260
413
|
- app/models/arclight/parents.rb
|
|
414
|
+
- app/models/arclight/requests/aeon_external_request.rb
|
|
415
|
+
- app/models/arclight/requests/aeon_web_ead.rb
|
|
261
416
|
- app/models/arclight/requests/google_form.rb
|
|
262
417
|
- app/models/concerns/arclight/catalog.rb
|
|
263
418
|
- app/models/concerns/arclight/search_behavior.rb
|
|
@@ -265,83 +420,55 @@ files:
|
|
|
265
420
|
- app/presenters/arclight/index_presenter.rb
|
|
266
421
|
- app/presenters/arclight/show_presenter.rb
|
|
267
422
|
- app/views/arclight/.keep
|
|
268
|
-
- app/views/arclight/
|
|
423
|
+
- app/views/arclight/_requests.html.erb
|
|
269
424
|
- app/views/arclight/repositories/_repository.html.erb
|
|
270
425
|
- app/views/arclight/repositories/index.html.erb
|
|
271
426
|
- app/views/arclight/repositories/show.html.erb
|
|
427
|
+
- app/views/arclight/requests/_aeon_external_request_endpoint.html.erb
|
|
428
|
+
- app/views/arclight/requests/_aeon_web_ead.html.erb
|
|
272
429
|
- app/views/arclight/requests/_google_form.html.erb
|
|
273
|
-
- app/views/
|
|
274
|
-
- app/views/catalog/
|
|
275
|
-
- app/views/catalog/
|
|
276
|
-
- app/views/catalog/
|
|
277
|
-
- app/views/catalog/
|
|
278
|
-
- app/views/catalog/_arclight_document_show_header_collection.html.erb
|
|
279
|
-
- app/views/catalog/_arclight_index_compact_default.html.erb
|
|
280
|
-
- app/views/catalog/_arclight_online_content_indicator.html.erb
|
|
281
|
-
- app/views/catalog/_arclight_rangelimit.html.erb
|
|
282
|
-
- app/views/catalog/_arclight_viewer_default.html.erb
|
|
283
|
-
- app/views/catalog/_collection_contents.html.erb
|
|
284
|
-
- app/views/catalog/_collection_count.html.erb
|
|
285
|
-
- app/views/catalog/_collection_downloads.html.erb
|
|
286
|
-
- app/views/catalog/_collection_online_contents.html.erb
|
|
287
|
-
- app/views/catalog/_collection_overview.html.erb
|
|
288
|
-
- app/views/catalog/_component_overview.html.erb
|
|
289
|
-
- app/views/catalog/_context_card.html.erb
|
|
290
|
-
- app/views/catalog/_context_sidebar.html.erb
|
|
291
|
-
- app/views/catalog/_custom_metadata.html.erb
|
|
292
|
-
- app/views/catalog/_home.html.erb
|
|
293
|
-
- app/views/catalog/_index_breadcrumb_default.html.erb
|
|
294
|
-
- app/views/catalog/_index_default.html.erb
|
|
295
|
-
- app/views/catalog/_index_header.html.erb
|
|
296
|
-
- app/views/catalog/_index_header_hierarchy_default.html.erb
|
|
297
|
-
- app/views/catalog/_index_header_online_contents_default.html.erb
|
|
298
|
-
- app/views/catalog/_index_hierarchy_default.html.erb
|
|
299
|
-
- app/views/catalog/_index_online_contents_default.html.erb
|
|
300
|
-
- app/views/catalog/_results_histogram.html.erb
|
|
301
|
-
- app/views/catalog/_search_results.html.erb
|
|
302
|
-
- app/views/catalog/_search_results_repository.html.erb
|
|
303
|
-
- app/views/catalog/_search_within_form.html.erb
|
|
304
|
-
- app/views/catalog/_show_breadcrumbs_default.html.erb
|
|
305
|
-
- app/views/catalog/_show_collection.html.erb
|
|
306
|
-
- app/views/catalog/_show_component_sidebar.html.erb
|
|
307
|
-
- app/views/catalog/_show_default.html.erb
|
|
308
|
-
- app/views/catalog/_show_header.html.erb
|
|
309
|
-
- app/views/catalog/_show_sidebar.html.erb
|
|
430
|
+
- app/views/catalog/_document_list.html.erb
|
|
431
|
+
- app/views/catalog/_group.html.erb
|
|
432
|
+
- app/views/catalog/_group_toggle.html.erb
|
|
433
|
+
- app/views/catalog/_search_results_header.html.erb
|
|
434
|
+
- app/views/catalog/hierarchy.html.erb
|
|
310
435
|
- app/views/catalog/index.html.erb
|
|
311
|
-
- app/views/layouts/catalog_result.html.erb
|
|
312
436
|
- app/views/shared/_breadcrumbs.html.erb
|
|
313
|
-
- app/views/shared/_context_sidebar.html.erb
|
|
314
|
-
- app/views/shared/_header_navbar.html.erb
|
|
315
437
|
- app/views/shared/_main_menu_links.html.erb
|
|
316
438
|
- arclight.gemspec
|
|
317
439
|
- bin/console
|
|
318
440
|
- bin/rails
|
|
319
441
|
- bin/setup
|
|
442
|
+
- config/breadcrumbs.rb
|
|
443
|
+
- config/i18n-tasks.yml
|
|
444
|
+
- config/importmap.rb
|
|
320
445
|
- config/locales/arclight.en.yml
|
|
446
|
+
- config/repositories.yml
|
|
321
447
|
- config/routes.rb
|
|
448
|
+
- docker-compose.yml
|
|
322
449
|
- lib/arclight.rb
|
|
323
|
-
- lib/arclight/custom_component.rb
|
|
324
|
-
- lib/arclight/custom_document.rb
|
|
325
450
|
- lib/arclight/digital_object.rb
|
|
326
451
|
- lib/arclight/engine.rb
|
|
327
452
|
- lib/arclight/exceptions.rb
|
|
328
|
-
- lib/arclight/
|
|
453
|
+
- lib/arclight/hash_absolute_xpath.rb
|
|
454
|
+
- lib/arclight/level_label.rb
|
|
455
|
+
- lib/arclight/missing_id_strategy.rb
|
|
329
456
|
- lib/arclight/normalized_date.rb
|
|
330
457
|
- lib/arclight/normalized_id.rb
|
|
331
458
|
- lib/arclight/normalized_title.rb
|
|
332
459
|
- lib/arclight/repository.rb
|
|
333
|
-
- lib/arclight/
|
|
334
|
-
- lib/arclight/
|
|
335
|
-
- lib/arclight/
|
|
460
|
+
- lib/arclight/routes.rb
|
|
461
|
+
- lib/arclight/routes/hierarchy.rb
|
|
462
|
+
- lib/arclight/traject/ead2_component_config.rb
|
|
463
|
+
- lib/arclight/traject/ead2_config.rb
|
|
464
|
+
- lib/arclight/traject/nokogiri_namespaceless_reader.rb
|
|
336
465
|
- lib/arclight/version.rb
|
|
337
|
-
- lib/arclight/viewer.rb
|
|
338
|
-
- lib/arclight/viewers/oembed.rb
|
|
339
466
|
- lib/arclight/year_range.rb
|
|
340
467
|
- lib/generators/arclight/install_generator.rb
|
|
341
|
-
- lib/generators/arclight/templates/arclight.js
|
|
342
468
|
- lib/generators/arclight/templates/arclight.scss
|
|
343
469
|
- lib/generators/arclight/templates/catalog_controller.rb
|
|
344
470
|
- lib/generators/arclight/templates/config/downloads.yml
|
|
471
|
+
- lib/generators/arclight/templates/config/locales/arclight.en.yml
|
|
345
472
|
- lib/generators/arclight/templates/config/repositories.yml
|
|
346
473
|
- lib/generators/arclight/update_generator.rb
|
|
347
474
|
- lib/tasks/index.rake
|
|
@@ -352,7 +479,6 @@ files:
|
|
|
352
479
|
- solr/conf/mapping-ISOLatin1Accent.txt
|
|
353
480
|
- solr/conf/protwords.txt
|
|
354
481
|
- solr/conf/schema.xml
|
|
355
|
-
- solr/conf/scripts.conf
|
|
356
482
|
- solr/conf/solrconfig.xml
|
|
357
483
|
- solr/conf/spellings.txt
|
|
358
484
|
- solr/conf/stopwords.txt
|
|
@@ -364,13 +490,12 @@ files:
|
|
|
364
490
|
- solr/conf/xslt/luke.xsl
|
|
365
491
|
- tasks/arclight.rake
|
|
366
492
|
- template.rb
|
|
367
|
-
|
|
368
|
-
- vendor/assets/javascripts/stickyfill.js
|
|
369
|
-
homepage: https://github.com/sul-dlss/arclight
|
|
493
|
+
homepage: https://library.stanford.edu/projects/arclight
|
|
370
494
|
licenses:
|
|
371
495
|
- Apache-2.0
|
|
372
|
-
metadata:
|
|
373
|
-
|
|
496
|
+
metadata:
|
|
497
|
+
source_code_uri: https://github.com/projectblacklight/arclight
|
|
498
|
+
post_install_message:
|
|
374
499
|
rdoc_options: []
|
|
375
500
|
require_paths:
|
|
376
501
|
- lib
|
|
@@ -378,16 +503,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
378
503
|
requirements:
|
|
379
504
|
- - ">="
|
|
380
505
|
- !ruby/object:Gem::Version
|
|
381
|
-
version:
|
|
506
|
+
version: 3.0.0
|
|
382
507
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
383
508
|
requirements:
|
|
384
509
|
- - ">="
|
|
385
510
|
- !ruby/object:Gem::Version
|
|
386
511
|
version: '0'
|
|
387
512
|
requirements: []
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
signing_key:
|
|
513
|
+
rubygems_version: 3.4.19
|
|
514
|
+
signing_key:
|
|
391
515
|
specification_version: 4
|
|
392
|
-
summary:
|
|
516
|
+
summary: A Blacklight-based environment to support discovery and delivery for archives
|
|
517
|
+
and special collections
|
|
393
518
|
test_files: []
|
data/.travis.yml
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
sudo: false
|
|
2
|
-
language: ruby
|
|
3
|
-
notifications:
|
|
4
|
-
email: false
|
|
5
|
-
rvm:
|
|
6
|
-
- 2.4.1
|
|
7
|
-
jdk:
|
|
8
|
-
- oraclejdk8
|
|
9
|
-
|
|
10
|
-
# Update to phantomjs 2.1.1 to fix issues with < 2
|
|
11
|
-
# See https://github.com/travis-ci/travis-ci/issues/3225#issuecomment-177592725
|
|
12
|
-
# and https://github.com/travis-ci/travis-ci/issues/3225#issuecomment-200965782
|
|
13
|
-
cache:
|
|
14
|
-
bundler: true
|
|
15
|
-
directories:
|
|
16
|
-
- "travis_phantomjs"
|
|
17
|
-
|
|
18
|
-
before_install:
|
|
19
|
-
- "phantomjs --version"
|
|
20
|
-
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
|
|
21
|
-
- "phantomjs --version"
|
|
22
|
-
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
|
|
23
|
-
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
|
|
24
|
-
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
|
|
25
|
-
- "hash -r"
|
|
26
|
-
- "phantomjs --version"
|
|
27
|
-
|
|
28
|
-
before_script:
|
|
29
|
-
- find spec/fixtures/ead -name '*.xml' | xargs xmllint --noout --schema spec/fixtures/xsd/ead.xsd
|
|
30
|
-
addons:
|
|
31
|
-
apt:
|
|
32
|
-
sources:
|
|
33
|
-
- libxml2-utils
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
Blacklight.onLoad(function () {
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
$('[data-arclight-collection-context="true"]').each(function (i, element) {
|
|
5
|
-
var $el = $(element);
|
|
6
|
-
var data = $el.data();
|
|
7
|
-
$.ajax({
|
|
8
|
-
url: data.arclightCollectionContextUrl
|
|
9
|
-
}).done(function (response) {
|
|
10
|
-
var resp = $.parseHTML(response);
|
|
11
|
-
var $doc = $(resp);
|
|
12
|
-
var link = $('<a></a>').attr('href', data.arclightCollectionContextUrl);
|
|
13
|
-
var addedSection = $doc.find('.al-show-header-section');
|
|
14
|
-
addedSection.find('h1').wrapInner(link);
|
|
15
|
-
$el.hide().html(addedSection).fadeIn(500);
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
});
|