geoblacklight 2.4.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +152 -64
- data/.rubocop.yml +15 -13
- data/.rubocop_todo.yml +66 -10
- data/README.md +1 -1
- data/Rakefile +1 -0
- data/app/assets/javascripts/geoblacklight/downloaders/downloader.js +1 -1
- data/app/assets/javascripts/geoblacklight/modules/svg_tooltips.js +31 -0
- data/app/assets/javascripts/geoblacklight/viewers/esri.js +2 -2
- data/app/assets/javascripts/geoblacklight/viewers/esri/tiled_map_layer.js +1 -1
- data/app/assets/javascripts/geoblacklight/viewers/wms.js +2 -2
- data/app/assets/stylesheets/geoblacklight/geoblacklight.scss +2 -0
- data/app/assets/stylesheets/geoblacklight/modules/_base.scss +33 -0
- data/app/assets/stylesheets/geoblacklight/{_blacklight_overrides.scss → modules/_blacklight_overrides.scss} +0 -0
- data/app/assets/stylesheets/geoblacklight/{_styles.scss → modules/_styles.scss} +1 -0
- data/app/assets/stylesheets/geoblacklight/modules/downloads.scss +37 -54
- data/app/assets/stylesheets/geoblacklight/modules/item.scss +1 -0
- data/app/assets/stylesheets/geoblacklight/modules/results.scss +16 -28
- data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +12 -42
- data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +17 -59
- data/app/controllers/download_controller.rb +12 -12
- data/app/controllers/relation_controller.rb +1 -0
- data/app/controllers/wms_controller.rb +1 -0
- data/app/helpers/arcgis_helper.rb +1 -0
- data/app/helpers/blacklight_helper.rb +1 -0
- data/app/helpers/carto_helper.rb +1 -0
- data/app/helpers/geoblacklight_helper.rb +25 -72
- data/app/models/concerns/geoblacklight/solr_document.rb +7 -6
- data/app/models/concerns/geoblacklight/solr_document/arcgis.rb +2 -1
- data/app/models/concerns/geoblacklight/solr_document/carto.rb +1 -13
- data/app/models/concerns/geoblacklight/solr_document/citation.rb +1 -0
- data/app/models/concerns/geoblacklight/solr_document/finder.rb +1 -0
- data/app/models/concerns/geoblacklight/solr_document/inspection.rb +2 -1
- data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +3 -1
- data/app/presenters/geoblacklight/document_presenter.rb +2 -1
- data/app/views/catalog/_arcgis.html.erb +4 -0
- data/app/views/catalog/_carto.html.erb +4 -0
- data/app/views/catalog/_downloads_primary.html.erb +8 -1
- data/app/views/catalog/_header_icons.html.erb +3 -3
- data/app/views/catalog/_home_text.html.erb +3 -0
- data/app/views/catalog/_index_split_default.html.erb +21 -21
- data/app/views/relation/_ancestors.html.erb +1 -4
- data/app/views/relation/_descendants.html.erb +2 -5
- data/app/views/relation/index.html.erb +20 -8
- data/app/views/relation/index.json.jbuilder +2 -1
- data/app/views/shared/_header_navbar.html.erb +0 -2
- data/bin/coverage.rb +36 -0
- data/config/initializers/rails_config.rb +1 -0
- data/config/locales/geoblacklight.en.yml +3 -2
- data/geoblacklight.gemspec +3 -6
- data/lib/generators/geoblacklight/assets_generator.rb +46 -0
- data/lib/generators/geoblacklight/install_generator.rb +3 -9
- data/lib/generators/geoblacklight/templates/assets/_blacklight.scss +1 -0
- data/lib/generators/geoblacklight/templates/assets/_customizations.scss +28 -0
- data/{app/assets/stylesheets/geoblacklight/application.scss → lib/generators/geoblacklight/templates/assets/_geoblacklight.scss} +0 -1
- data/lib/generators/geoblacklight/templates/assets/application.scss +7 -0
- data/lib/generators/geoblacklight/templates/{geoblacklight.js → assets/geoblacklight.js} +0 -0
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +3 -2
- data/lib/generators/geoblacklight/templates/settings.yml +0 -6
- data/lib/generators/geoblacklight/webpacker_generator.rb +1 -0
- data/lib/geoblacklight.rb +1 -0
- data/lib/geoblacklight/bounding_box.rb +1 -0
- data/lib/geoblacklight/catalog_helper_override.rb +1 -0
- data/lib/geoblacklight/constants.rb +1 -0
- data/lib/geoblacklight/download.rb +2 -1
- data/lib/geoblacklight/download/geojson_download.rb +1 -0
- data/lib/geoblacklight/download/geotiff_download.rb +1 -0
- data/lib/geoblacklight/download/hgl_download.rb +1 -0
- data/lib/geoblacklight/download/kmz_download.rb +2 -1
- data/lib/geoblacklight/download/shapefile_download.rb +1 -0
- data/lib/geoblacklight/engine.rb +1 -2
- data/lib/geoblacklight/exceptions.rb +1 -0
- data/lib/geoblacklight/geoblacklight_helper_behavior.rb +1 -0
- data/lib/geoblacklight/item_viewer.rb +1 -0
- data/lib/geoblacklight/metadata.rb +1 -0
- data/lib/geoblacklight/metadata/base.rb +1 -0
- data/lib/geoblacklight/metadata/fgdc.rb +1 -0
- data/lib/geoblacklight/metadata/html.rb +2 -2
- data/lib/geoblacklight/metadata/iso19139.rb +1 -0
- data/lib/geoblacklight/metadata_transformer.rb +1 -0
- data/lib/geoblacklight/metadata_transformer/base.rb +1 -0
- data/lib/geoblacklight/metadata_transformer/fgdc.rb +1 -0
- data/lib/geoblacklight/metadata_transformer/iso19139.rb +1 -0
- data/lib/geoblacklight/reference.rb +1 -0
- data/lib/geoblacklight/references.rb +7 -3
- data/lib/geoblacklight/relation/ancestors.rb +1 -0
- data/lib/geoblacklight/relation/descendants.rb +1 -0
- data/lib/geoblacklight/relation/relation_response.rb +2 -1
- data/lib/geoblacklight/routes.rb +1 -0
- data/lib/geoblacklight/routes/downloadable.rb +1 -0
- data/lib/geoblacklight/routes/exportable.rb +1 -0
- data/lib/geoblacklight/routes/wms.rb +1 -0
- data/lib/geoblacklight/version.rb +2 -1
- data/lib/geoblacklight/view_helper_override.rb +1 -0
- data/lib/geoblacklight/wms_layer.rb +1 -0
- data/lib/geoblacklight/wms_layer/feature_info_response.rb +1 -0
- data/lib/tasks/geoblacklight.rake +33 -32
- data/spec/controllers/catalog_controller_spec.rb +1 -0
- data/spec/controllers/download_controller_spec.rb +1 -0
- data/spec/controllers/relation_controller_spec.rb +1 -0
- data/spec/controllers/wms_controller_spec.rb +1 -0
- data/spec/factories/user.rb +1 -0
- data/spec/features/bookmarks_spec.rb +1 -0
- data/spec/features/configurable_basemap_spec.rb +1 -0
- data/spec/features/data_dictionary_download_spec.rb +1 -0
- data/spec/features/download_layer_spec.rb +1 -0
- data/spec/features/empty_search_spec.rb +1 -0
- data/spec/features/esri_viewer_spec.rb +1 -5
- data/spec/features/exports_spec.rb +4 -12
- data/spec/features/help_text_spec.rb +1 -0
- data/spec/features/home_page_spec.rb +6 -0
- data/spec/features/iiif_viewer_spec.rb +1 -0
- data/spec/features/index_map_spec.rb +1 -0
- data/spec/features/layer_inspection_spec.rb +1 -0
- data/spec/features/layer_opacity_spec.rb +1 -0
- data/spec/features/layer_preview_spec.rb +1 -0
- data/spec/features/layer_with_no_references_spec.rb +1 -0
- data/spec/features/linkified_attribute_table_spec.rb +1 -0
- data/spec/features/metadata_panel_spec.rb +1 -0
- data/spec/features/missing_metadata_spec.rb +1 -0
- data/spec/features/multiple_downloads_spec.rb +15 -0
- data/spec/features/oembed_spec.rb +1 -0
- data/spec/features/relations_spec.rb +10 -29
- data/spec/features/saved_searches_spec.rb +1 -0
- data/spec/features/search_bar_spec.rb +1 -0
- data/spec/features/search_results_map_spec.rb +1 -6
- data/spec/features/search_results_overlap_ratio_spec.rb +4 -3
- data/spec/features/search_spec.rb +1 -0
- data/spec/features/show_page_metadata_spec.rb +1 -0
- data/spec/features/sms_spec.rb +1 -0
- data/spec/features/split_view.html.erb_spec.rb +2 -1
- data/spec/features/suppressed_records_spec.rb +1 -0
- data/spec/features/web_services_modal_spec.rb +1 -0
- data/spec/fixtures/solr_documents/multiple-downloads.json +30 -0
- data/spec/helpers/arcgis_helper_spec.rb +1 -0
- data/spec/helpers/carto_helper_spec.rb +1 -0
- data/spec/helpers/geoblacklight_helper_spec.rb +47 -14
- data/spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js +12 -0
- data/spec/lib/geoblacklight/bounding_box_spec.rb +1 -0
- data/spec/lib/geoblacklight/controller_override_spec.rb +1 -0
- data/spec/lib/geoblacklight/document_presenter_spec.rb +3 -2
- data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -0
- data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -0
- data/spec/lib/geoblacklight/download/hgl_download_spec.rb +1 -0
- data/spec/lib/geoblacklight/download/kmz_download_spec.rb +1 -0
- data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -0
- data/spec/lib/geoblacklight/download_spec.rb +2 -1
- data/spec/lib/geoblacklight/geoblacklight_helper_behavior_spec.rb +1 -0
- data/spec/lib/geoblacklight/item_viewer_spec.rb +1 -0
- data/spec/lib/geoblacklight/metadata/base_spec.rb +1 -0
- data/spec/lib/geoblacklight/metadata/html_spec.rb +1 -0
- data/spec/lib/geoblacklight/metadata_spec.rb +1 -0
- data/spec/lib/geoblacklight/metadata_transformer/base_spec.rb +3 -2
- data/spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb +3 -2
- data/spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb +3 -2
- data/spec/lib/geoblacklight/metadata_transformer_spec.rb +4 -3
- data/spec/lib/geoblacklight/reference_spec.rb +1 -0
- data/spec/lib/geoblacklight/references_spec.rb +2 -3
- data/spec/lib/geoblacklight/relation/ancestors_spec.rb +1 -0
- data/spec/lib/geoblacklight/relation/descendants_spec.rb +1 -0
- data/spec/lib/geoblacklight/relation/relation_response_spec.rb +1 -0
- data/spec/lib/geoblacklight/view_helper_override_spec.rb +1 -0
- data/spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb +5 -4
- data/spec/lib/geoblacklight/wms_layer_spec.rb +1 -0
- data/spec/models/concerns/geoblacklight/solr_document/carto_spec.rb +1 -20
- data/spec/models/concerns/geoblacklight/solr_document/citation_spec.rb +1 -0
- data/spec/models/concerns/geoblacklight/solr_document/finder_spec.rb +1 -0
- data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +1 -0
- data/spec/models/concerns/geoblacklight/solr_document_spec.rb +1 -0
- data/spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb +15 -2
- data/spec/routing/catalog_routing_spec.rb +1 -0
- data/spec/spec_helper.rb +12 -9
- data/spec/support/backport_test_helpers.rb +1 -0
- data/spec/support/features.rb +1 -0
- data/spec/support/features/session_helpers.rb +1 -0
- data/spec/support/fixtures.rb +1 -0
- data/spec/tasks/geoblacklight_spec.rb +4 -3
- data/spec/teaspoon_env.rb +1 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -0
- data/spec/views/catalog/_document_split.html.erb_spec.rb +1 -0
- data/spec/views/catalog/_index_split.html.erb_spec.rb +1 -0
- data/spec/views/catalog/_results_pagination.html.erb_spec.rb +1 -0
- data/spec/views/catalog/_show_downloads.html.erb_spec.rb +1 -0
- data/spec/views/catalog/_show_tools.html.erb_spec.rb +2 -4
- data/template.rb +1 -0
- metadata +42 -68
- data/app/assets/stylesheets/geoblacklight/_geoblacklight.scss +0 -36
- data/app/assets/stylesheets/geoblacklight/modules/relations.scss +0 -15
- data/app/views/catalog/_exports.html.erb +0 -3
- data/app/views/catalog/_show_tools.html.erb +0 -25
- data/lib/generators/geoblacklight/templates/geoblacklight.scss +0 -4
- data/vendor/assets/javascripts/readmore.js +0 -0
- data/vendor/assets/javascripts/readmore.min.js +0 -0
data/template.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoblacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Graves
|
@@ -11,22 +11,28 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-08-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- - "
|
20
|
+
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 5.2.4
|
23
|
+
- - "<"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '6.1'
|
23
26
|
type: :runtime
|
24
27
|
prerelease: false
|
25
28
|
version_requirements: !ruby/object:Gem::Requirement
|
26
29
|
requirements:
|
27
|
-
- - "
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.2.4
|
33
|
+
- - "<"
|
28
34
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
35
|
+
version: '6.1'
|
30
36
|
- !ruby/object:Gem::Dependency
|
31
37
|
name: blacklight
|
32
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -41,20 +47,6 @@ dependencies:
|
|
41
47
|
- - "~>"
|
42
48
|
- !ruby/object:Gem::Version
|
43
49
|
version: '7.0'
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: font-awesome-rails
|
46
|
-
requirement: !ruby/object:Gem::Requirement
|
47
|
-
requirements:
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '0'
|
51
|
-
type: :runtime
|
52
|
-
prerelease: false
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '0'
|
58
50
|
- !ruby/object:Gem::Dependency
|
59
51
|
name: config
|
60
52
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,20 +103,6 @@ dependencies:
|
|
111
103
|
- - ">="
|
112
104
|
- !ruby/object:Gem::Version
|
113
105
|
version: '0'
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: geoblacklight-icons
|
116
|
-
requirement: !ruby/object:Gem::Requirement
|
117
|
-
requirements:
|
118
|
-
- - ">="
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: '0.2'
|
121
|
-
type: :runtime
|
122
|
-
prerelease: false
|
123
|
-
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
requirements:
|
125
|
-
- - ">="
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
version: '0.2'
|
128
106
|
- !ruby/object:Gem::Dependency
|
129
107
|
name: deprecation
|
130
108
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,16 +163,16 @@ dependencies:
|
|
185
163
|
name: webpacker
|
186
164
|
requirement: !ruby/object:Gem::Requirement
|
187
165
|
requirements:
|
188
|
-
- - "
|
166
|
+
- - "~>"
|
189
167
|
- !ruby/object:Gem::Version
|
190
|
-
version: '0'
|
168
|
+
version: '4.0'
|
191
169
|
type: :runtime
|
192
170
|
prerelease: false
|
193
171
|
version_requirements: !ruby/object:Gem::Requirement
|
194
172
|
requirements:
|
195
|
-
- - "
|
173
|
+
- - "~>"
|
196
174
|
- !ruby/object:Gem::Version
|
197
|
-
version: '0'
|
175
|
+
version: '4.0'
|
198
176
|
- !ruby/object:Gem::Dependency
|
199
177
|
name: solr_wrapper
|
200
178
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,16 +205,16 @@ dependencies:
|
|
227
205
|
name: rspec-rails
|
228
206
|
requirement: !ruby/object:Gem::Requirement
|
229
207
|
requirements:
|
230
|
-
- - "
|
208
|
+
- - ">="
|
231
209
|
- !ruby/object:Gem::Version
|
232
|
-
version: '
|
210
|
+
version: '0'
|
233
211
|
type: :development
|
234
212
|
prerelease: false
|
235
213
|
version_requirements: !ruby/object:Gem::Requirement
|
236
214
|
requirements:
|
237
|
-
- - "
|
215
|
+
- - ">="
|
238
216
|
- !ruby/object:Gem::Version
|
239
|
-
version: '
|
217
|
+
version: '0'
|
240
218
|
- !ruby/object:Gem::Dependency
|
241
219
|
name: engine_cart
|
242
220
|
requirement: !ruby/object:Gem::Requirement
|
@@ -321,20 +299,6 @@ dependencies:
|
|
321
299
|
- - ">="
|
322
300
|
- !ruby/object:Gem::Version
|
323
301
|
version: '0'
|
324
|
-
- !ruby/object:Gem::Dependency
|
325
|
-
name: coveralls
|
326
|
-
requirement: !ruby/object:Gem::Requirement
|
327
|
-
requirements:
|
328
|
-
- - ">="
|
329
|
-
- !ruby/object:Gem::Version
|
330
|
-
version: '0'
|
331
|
-
type: :development
|
332
|
-
prerelease: false
|
333
|
-
version_requirements: !ruby/object:Gem::Requirement
|
334
|
-
requirements:
|
335
|
-
- - ">="
|
336
|
-
- !ruby/object:Gem::Version
|
337
|
-
version: '0'
|
338
302
|
- !ruby/object:Gem::Dependency
|
339
303
|
name: simplecov
|
340
304
|
requirement: !ruby/object:Gem::Requirement
|
@@ -386,7 +350,8 @@ email:
|
|
386
350
|
- drh@stanford.edu
|
387
351
|
- eliotj@princeton.edu
|
388
352
|
- pjreed@stanford.edu
|
389
|
-
executables:
|
353
|
+
executables:
|
354
|
+
- coverage.rb
|
390
355
|
extensions: []
|
391
356
|
extra_rdoc_files: []
|
392
357
|
files:
|
@@ -486,6 +451,7 @@ files:
|
|
486
451
|
- app/assets/javascripts/geoblacklight/modules/metadata_download_button.js
|
487
452
|
- app/assets/javascripts/geoblacklight/modules/relations.js
|
488
453
|
- app/assets/javascripts/geoblacklight/modules/results.js
|
454
|
+
- app/assets/javascripts/geoblacklight/modules/svg_tooltips.js
|
489
455
|
- app/assets/javascripts/geoblacklight/modules/util.js
|
490
456
|
- app/assets/javascripts/geoblacklight/templates/index_map_download.hbs
|
491
457
|
- app/assets/javascripts/geoblacklight/templates/index_map_info.hbs
|
@@ -501,10 +467,10 @@ files:
|
|
501
467
|
- app/assets/javascripts/geoblacklight/viewers/oembed.js
|
502
468
|
- app/assets/javascripts/geoblacklight/viewers/viewer.js
|
503
469
|
- app/assets/javascripts/geoblacklight/viewers/wms.js
|
504
|
-
- app/assets/stylesheets/geoblacklight/
|
505
|
-
- app/assets/stylesheets/geoblacklight/
|
506
|
-
- app/assets/stylesheets/geoblacklight/
|
507
|
-
- app/assets/stylesheets/geoblacklight/
|
470
|
+
- app/assets/stylesheets/geoblacklight/geoblacklight.scss
|
471
|
+
- app/assets/stylesheets/geoblacklight/modules/_base.scss
|
472
|
+
- app/assets/stylesheets/geoblacklight/modules/_blacklight_overrides.scss
|
473
|
+
- app/assets/stylesheets/geoblacklight/modules/_styles.scss
|
508
474
|
- app/assets/stylesheets/geoblacklight/modules/downloads.scss
|
509
475
|
- app/assets/stylesheets/geoblacklight/modules/facets.scss
|
510
476
|
- app/assets/stylesheets/geoblacklight/modules/geosearch.scss
|
@@ -519,7 +485,6 @@ files:
|
|
519
485
|
- app/assets/stylesheets/geoblacklight/modules/metadata_missing.scss
|
520
486
|
- app/assets/stylesheets/geoblacklight/modules/mixins.scss
|
521
487
|
- app/assets/stylesheets/geoblacklight/modules/modal.scss
|
522
|
-
- app/assets/stylesheets/geoblacklight/modules/relations.scss
|
523
488
|
- app/assets/stylesheets/geoblacklight/modules/results.scss
|
524
489
|
- app/assets/stylesheets/geoblacklight/modules/search_widgets.scss
|
525
490
|
- app/assets/stylesheets/geoblacklight/modules/sidebar.scss
|
@@ -540,6 +505,8 @@ files:
|
|
540
505
|
- app/models/concerns/geoblacklight/solr_document/inspection.rb
|
541
506
|
- app/models/concerns/geoblacklight/spatial_search_behavior.rb
|
542
507
|
- app/presenters/geoblacklight/document_presenter.rb
|
508
|
+
- app/views/catalog/_arcgis.html.erb
|
509
|
+
- app/views/catalog/_carto.html.erb
|
543
510
|
- app/views/catalog/_citation.html.erb
|
544
511
|
- app/views/catalog/_data_dictionary.html.erb
|
545
512
|
- app/views/catalog/_document_action.html.erb
|
@@ -549,7 +516,6 @@ files:
|
|
549
516
|
- app/views/catalog/_downloads_generated.html.erb
|
550
517
|
- app/views/catalog/_downloads_primary.html.erb
|
551
518
|
- app/views/catalog/_downloads_secondary.html.erb
|
552
|
-
- app/views/catalog/_exports.html.erb
|
553
519
|
- app/views/catalog/_facet_tag_item.html.erb
|
554
520
|
- app/views/catalog/_facet_tag_layout.html.erb
|
555
521
|
- app/views/catalog/_header_icons.html.erb
|
@@ -565,7 +531,6 @@ files:
|
|
565
531
|
- app/views/catalog/_show_downloads.html.erb
|
566
532
|
- app/views/catalog/_show_header_default.html.erb
|
567
533
|
- app/views/catalog/_show_sidebar.html.erb
|
568
|
-
- app/views/catalog/_show_tools.html.erb
|
569
534
|
- app/views/catalog/_web_services.html.erb
|
570
535
|
- app/views/catalog/_web_services_default.html.erb
|
571
536
|
- app/views/catalog/_web_services_wfs.html.erb
|
@@ -582,14 +547,19 @@ files:
|
|
582
547
|
- app/views/relation/index.html.erb
|
583
548
|
- app/views/relation/index.json.jbuilder
|
584
549
|
- app/views/shared/_header_navbar.html.erb
|
550
|
+
- bin/coverage.rb
|
585
551
|
- config/initializers/rails_config.rb
|
586
552
|
- config/locales/geoblacklight.en.yml
|
587
553
|
- geoblacklight.gemspec
|
554
|
+
- lib/generators/geoblacklight/assets_generator.rb
|
588
555
|
- lib/generators/geoblacklight/install_generator.rb
|
589
556
|
- lib/generators/geoblacklight/templates/Procfile
|
557
|
+
- lib/generators/geoblacklight/templates/assets/_blacklight.scss
|
558
|
+
- lib/generators/geoblacklight/templates/assets/_customizations.scss
|
559
|
+
- lib/generators/geoblacklight/templates/assets/_geoblacklight.scss
|
560
|
+
- lib/generators/geoblacklight/templates/assets/application.scss
|
561
|
+
- lib/generators/geoblacklight/templates/assets/geoblacklight.js
|
590
562
|
- lib/generators/geoblacklight/templates/catalog_controller.rb
|
591
|
-
- lib/generators/geoblacklight/templates/geoblacklight.js
|
592
|
-
- lib/generators/geoblacklight/templates/geoblacklight.scss
|
593
563
|
- lib/generators/geoblacklight/templates/package.json
|
594
564
|
- lib/generators/geoblacklight/templates/settings.yml
|
595
565
|
- lib/generators/geoblacklight/templates/webpacker.yml
|
@@ -681,6 +651,7 @@ files:
|
|
681
651
|
- spec/features/linkified_attribute_table_spec.rb
|
682
652
|
- spec/features/metadata_panel_spec.rb
|
683
653
|
- spec/features/missing_metadata_spec.rb
|
654
|
+
- spec/features/multiple_downloads_spec.rb
|
684
655
|
- spec/features/oembed_spec.rb
|
685
656
|
- spec/features/relations_spec.rb
|
686
657
|
- spec/features/saved_searches_spec.rb
|
@@ -722,6 +693,7 @@ files:
|
|
722
693
|
- spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json
|
723
694
|
- spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json
|
724
695
|
- spec/fixtures/solr_documents/metadata_no_solr_geom.json
|
696
|
+
- spec/fixtures/solr_documents/multiple-downloads.json
|
725
697
|
- spec/fixtures/solr_documents/no_spatial.json
|
726
698
|
- spec/fixtures/solr_documents/oembed.json
|
727
699
|
- spec/fixtures/solr_documents/princeton-child1.json
|
@@ -740,6 +712,7 @@ files:
|
|
740
712
|
- spec/helpers/arcgis_helper_spec.rb
|
741
713
|
- spec/helpers/carto_helper_spec.rb
|
742
714
|
- spec/helpers/geoblacklight_helper_spec.rb
|
715
|
+
- spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js
|
743
716
|
- spec/javascripts/geoblacklight_spec.js
|
744
717
|
- spec/javascripts/metadata_download_button_spec.js
|
745
718
|
- spec/javascripts/spec_helper.js
|
@@ -808,8 +781,6 @@ files:
|
|
808
781
|
- vendor/assets/javascripts/leaflet-src.js.map
|
809
782
|
- vendor/assets/javascripts/leaflet.js.erb
|
810
783
|
- vendor/assets/javascripts/native.history.js
|
811
|
-
- vendor/assets/javascripts/readmore.js
|
812
|
-
- vendor/assets/javascripts/readmore.min.js
|
813
784
|
- vendor/assets/stylesheets/leaflet-label.css
|
814
785
|
- vendor/assets/stylesheets/leaflet.css
|
815
786
|
homepage: http://github.com/geoblacklight/geoblacklight
|
@@ -859,6 +830,7 @@ test_files:
|
|
859
830
|
- spec/features/linkified_attribute_table_spec.rb
|
860
831
|
- spec/features/metadata_panel_spec.rb
|
861
832
|
- spec/features/missing_metadata_spec.rb
|
833
|
+
- spec/features/multiple_downloads_spec.rb
|
862
834
|
- spec/features/oembed_spec.rb
|
863
835
|
- spec/features/relations_spec.rb
|
864
836
|
- spec/features/saved_searches_spec.rb
|
@@ -900,6 +872,7 @@ test_files:
|
|
900
872
|
- spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json
|
901
873
|
- spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json
|
902
874
|
- spec/fixtures/solr_documents/metadata_no_solr_geom.json
|
875
|
+
- spec/fixtures/solr_documents/multiple-downloads.json
|
903
876
|
- spec/fixtures/solr_documents/no_spatial.json
|
904
877
|
- spec/fixtures/solr_documents/oembed.json
|
905
878
|
- spec/fixtures/solr_documents/princeton-child1.json
|
@@ -918,6 +891,7 @@ test_files:
|
|
918
891
|
- spec/helpers/arcgis_helper_spec.rb
|
919
892
|
- spec/helpers/carto_helper_spec.rb
|
920
893
|
- spec/helpers/geoblacklight_helper_spec.rb
|
894
|
+
- spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js
|
921
895
|
- spec/javascripts/geoblacklight_spec.js
|
922
896
|
- spec/javascripts/metadata_download_button_spec.js
|
923
897
|
- spec/javascripts/spec_helper.js
|
@@ -1,36 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*/
|
12
|
-
@import 'leaflet';
|
13
|
-
@import 'geoblacklight-icons-rails';
|
14
|
-
@import 'font-awesome';
|
15
|
-
@import 'geoblacklight/styles';
|
16
|
-
@import 'modules/facets';
|
17
|
-
@import 'modules/mixins';
|
18
|
-
@import 'modules/icon-customization';
|
19
|
-
@import 'modules/home';
|
20
|
-
@import 'modules/index_maps';
|
21
|
-
@import 'modules/item';
|
22
|
-
@import 'modules/layer_opacity';
|
23
|
-
@import 'modules/metadata';
|
24
|
-
@import 'modules/metadata_content';
|
25
|
-
@import 'modules/metadata_missing';
|
26
|
-
@import 'modules/metadata_markup';
|
27
|
-
@import 'modules/modal';
|
28
|
-
@import 'modules/results';
|
29
|
-
@import 'modules/geosearch';
|
30
|
-
@import 'modules/search_widgets';
|
31
|
-
@import 'modules/sidebar';
|
32
|
-
@import 'modules/toolbar';
|
33
|
-
@import 'modules/relations';
|
34
|
-
@import 'modules/web_services';
|
35
|
-
@import 'blacklight_overrides';
|
36
|
-
@import 'modules/downloads';
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%-
|
2
|
-
# Compare with render_document_functions_partial helper, and
|
3
|
-
# _document_functions partial. BL actually has two groups
|
4
|
-
# of document-related tools. "document functions" by default
|
5
|
-
# contains Bookmark functionality shown on both results and
|
6
|
-
# item view. While "document tools" contains external export type
|
7
|
-
# functions by default only on detail.
|
8
|
-
-%>
|
9
|
-
<% if show_doc_actions? %>
|
10
|
-
<div class="card show-tools">
|
11
|
-
<div class="card-header">
|
12
|
-
<h2><%= t('blacklight.tools.title') %></h2>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<ul class="list-group list-group-flush">
|
16
|
-
<%= render_show_doc_actions @document do |config, inner| %>
|
17
|
-
<% if inner.present? %>
|
18
|
-
<li class="list-group-item <%= config.key %>">
|
19
|
-
<%= inner %>
|
20
|
-
</li>
|
21
|
-
<% end %>
|
22
|
-
<% end %>
|
23
|
-
</ul>
|
24
|
-
</div>
|
25
|
-
<% end %>
|
File without changes
|
File without changes
|