geoblacklight 2.4.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +152 -64
  3. data/.rubocop.yml +15 -13
  4. data/.rubocop_todo.yml +66 -10
  5. data/README.md +1 -1
  6. data/Rakefile +1 -0
  7. data/app/assets/javascripts/geoblacklight/downloaders/downloader.js +1 -1
  8. data/app/assets/javascripts/geoblacklight/modules/svg_tooltips.js +31 -0
  9. data/app/assets/javascripts/geoblacklight/viewers/esri.js +2 -2
  10. data/app/assets/javascripts/geoblacklight/viewers/esri/tiled_map_layer.js +1 -1
  11. data/app/assets/javascripts/geoblacklight/viewers/wms.js +2 -2
  12. data/app/assets/stylesheets/geoblacklight/geoblacklight.scss +2 -0
  13. data/app/assets/stylesheets/geoblacklight/modules/_base.scss +33 -0
  14. data/app/assets/stylesheets/geoblacklight/{_blacklight_overrides.scss → modules/_blacklight_overrides.scss} +0 -0
  15. data/app/assets/stylesheets/geoblacklight/{_styles.scss → modules/_styles.scss} +1 -0
  16. data/app/assets/stylesheets/geoblacklight/modules/downloads.scss +37 -54
  17. data/app/assets/stylesheets/geoblacklight/modules/item.scss +1 -0
  18. data/app/assets/stylesheets/geoblacklight/modules/results.scss +16 -28
  19. data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +12 -42
  20. data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +17 -59
  21. data/app/controllers/download_controller.rb +12 -12
  22. data/app/controllers/relation_controller.rb +1 -0
  23. data/app/controllers/wms_controller.rb +1 -0
  24. data/app/helpers/arcgis_helper.rb +1 -0
  25. data/app/helpers/blacklight_helper.rb +1 -0
  26. data/app/helpers/carto_helper.rb +1 -0
  27. data/app/helpers/geoblacklight_helper.rb +25 -72
  28. data/app/models/concerns/geoblacklight/solr_document.rb +7 -6
  29. data/app/models/concerns/geoblacklight/solr_document/arcgis.rb +2 -1
  30. data/app/models/concerns/geoblacklight/solr_document/carto.rb +1 -13
  31. data/app/models/concerns/geoblacklight/solr_document/citation.rb +1 -0
  32. data/app/models/concerns/geoblacklight/solr_document/finder.rb +1 -0
  33. data/app/models/concerns/geoblacklight/solr_document/inspection.rb +2 -1
  34. data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +3 -1
  35. data/app/presenters/geoblacklight/document_presenter.rb +2 -1
  36. data/app/views/catalog/_arcgis.html.erb +4 -0
  37. data/app/views/catalog/_carto.html.erb +4 -0
  38. data/app/views/catalog/_downloads_primary.html.erb +8 -1
  39. data/app/views/catalog/_header_icons.html.erb +3 -3
  40. data/app/views/catalog/_home_text.html.erb +3 -0
  41. data/app/views/catalog/_index_split_default.html.erb +21 -21
  42. data/app/views/relation/_ancestors.html.erb +1 -4
  43. data/app/views/relation/_descendants.html.erb +2 -5
  44. data/app/views/relation/index.html.erb +20 -8
  45. data/app/views/relation/index.json.jbuilder +2 -1
  46. data/app/views/shared/_header_navbar.html.erb +0 -2
  47. data/bin/coverage.rb +36 -0
  48. data/config/initializers/rails_config.rb +1 -0
  49. data/config/locales/geoblacklight.en.yml +3 -2
  50. data/geoblacklight.gemspec +3 -6
  51. data/lib/generators/geoblacklight/assets_generator.rb +46 -0
  52. data/lib/generators/geoblacklight/install_generator.rb +3 -9
  53. data/lib/generators/geoblacklight/templates/assets/_blacklight.scss +1 -0
  54. data/lib/generators/geoblacklight/templates/assets/_customizations.scss +28 -0
  55. data/{app/assets/stylesheets/geoblacklight/application.scss → lib/generators/geoblacklight/templates/assets/_geoblacklight.scss} +0 -1
  56. data/lib/generators/geoblacklight/templates/assets/application.scss +7 -0
  57. data/lib/generators/geoblacklight/templates/{geoblacklight.js → assets/geoblacklight.js} +0 -0
  58. data/lib/generators/geoblacklight/templates/catalog_controller.rb +3 -2
  59. data/lib/generators/geoblacklight/templates/settings.yml +0 -6
  60. data/lib/generators/geoblacklight/webpacker_generator.rb +1 -0
  61. data/lib/geoblacklight.rb +1 -0
  62. data/lib/geoblacklight/bounding_box.rb +1 -0
  63. data/lib/geoblacklight/catalog_helper_override.rb +1 -0
  64. data/lib/geoblacklight/constants.rb +1 -0
  65. data/lib/geoblacklight/download.rb +2 -1
  66. data/lib/geoblacklight/download/geojson_download.rb +1 -0
  67. data/lib/geoblacklight/download/geotiff_download.rb +1 -0
  68. data/lib/geoblacklight/download/hgl_download.rb +1 -0
  69. data/lib/geoblacklight/download/kmz_download.rb +2 -1
  70. data/lib/geoblacklight/download/shapefile_download.rb +1 -0
  71. data/lib/geoblacklight/engine.rb +1 -2
  72. data/lib/geoblacklight/exceptions.rb +1 -0
  73. data/lib/geoblacklight/geoblacklight_helper_behavior.rb +1 -0
  74. data/lib/geoblacklight/item_viewer.rb +1 -0
  75. data/lib/geoblacklight/metadata.rb +1 -0
  76. data/lib/geoblacklight/metadata/base.rb +1 -0
  77. data/lib/geoblacklight/metadata/fgdc.rb +1 -0
  78. data/lib/geoblacklight/metadata/html.rb +2 -2
  79. data/lib/geoblacklight/metadata/iso19139.rb +1 -0
  80. data/lib/geoblacklight/metadata_transformer.rb +1 -0
  81. data/lib/geoblacklight/metadata_transformer/base.rb +1 -0
  82. data/lib/geoblacklight/metadata_transformer/fgdc.rb +1 -0
  83. data/lib/geoblacklight/metadata_transformer/iso19139.rb +1 -0
  84. data/lib/geoblacklight/reference.rb +1 -0
  85. data/lib/geoblacklight/references.rb +7 -3
  86. data/lib/geoblacklight/relation/ancestors.rb +1 -0
  87. data/lib/geoblacklight/relation/descendants.rb +1 -0
  88. data/lib/geoblacklight/relation/relation_response.rb +2 -1
  89. data/lib/geoblacklight/routes.rb +1 -0
  90. data/lib/geoblacklight/routes/downloadable.rb +1 -0
  91. data/lib/geoblacklight/routes/exportable.rb +1 -0
  92. data/lib/geoblacklight/routes/wms.rb +1 -0
  93. data/lib/geoblacklight/version.rb +2 -1
  94. data/lib/geoblacklight/view_helper_override.rb +1 -0
  95. data/lib/geoblacklight/wms_layer.rb +1 -0
  96. data/lib/geoblacklight/wms_layer/feature_info_response.rb +1 -0
  97. data/lib/tasks/geoblacklight.rake +33 -32
  98. data/spec/controllers/catalog_controller_spec.rb +1 -0
  99. data/spec/controllers/download_controller_spec.rb +1 -0
  100. data/spec/controllers/relation_controller_spec.rb +1 -0
  101. data/spec/controllers/wms_controller_spec.rb +1 -0
  102. data/spec/factories/user.rb +1 -0
  103. data/spec/features/bookmarks_spec.rb +1 -0
  104. data/spec/features/configurable_basemap_spec.rb +1 -0
  105. data/spec/features/data_dictionary_download_spec.rb +1 -0
  106. data/spec/features/download_layer_spec.rb +1 -0
  107. data/spec/features/empty_search_spec.rb +1 -0
  108. data/spec/features/esri_viewer_spec.rb +1 -5
  109. data/spec/features/exports_spec.rb +4 -12
  110. data/spec/features/help_text_spec.rb +1 -0
  111. data/spec/features/home_page_spec.rb +6 -0
  112. data/spec/features/iiif_viewer_spec.rb +1 -0
  113. data/spec/features/index_map_spec.rb +1 -0
  114. data/spec/features/layer_inspection_spec.rb +1 -0
  115. data/spec/features/layer_opacity_spec.rb +1 -0
  116. data/spec/features/layer_preview_spec.rb +1 -0
  117. data/spec/features/layer_with_no_references_spec.rb +1 -0
  118. data/spec/features/linkified_attribute_table_spec.rb +1 -0
  119. data/spec/features/metadata_panel_spec.rb +1 -0
  120. data/spec/features/missing_metadata_spec.rb +1 -0
  121. data/spec/features/multiple_downloads_spec.rb +15 -0
  122. data/spec/features/oembed_spec.rb +1 -0
  123. data/spec/features/relations_spec.rb +10 -29
  124. data/spec/features/saved_searches_spec.rb +1 -0
  125. data/spec/features/search_bar_spec.rb +1 -0
  126. data/spec/features/search_results_map_spec.rb +1 -6
  127. data/spec/features/search_results_overlap_ratio_spec.rb +4 -3
  128. data/spec/features/search_spec.rb +1 -0
  129. data/spec/features/show_page_metadata_spec.rb +1 -0
  130. data/spec/features/sms_spec.rb +1 -0
  131. data/spec/features/split_view.html.erb_spec.rb +2 -1
  132. data/spec/features/suppressed_records_spec.rb +1 -0
  133. data/spec/features/web_services_modal_spec.rb +1 -0
  134. data/spec/fixtures/solr_documents/multiple-downloads.json +30 -0
  135. data/spec/helpers/arcgis_helper_spec.rb +1 -0
  136. data/spec/helpers/carto_helper_spec.rb +1 -0
  137. data/spec/helpers/geoblacklight_helper_spec.rb +47 -14
  138. data/spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js +12 -0
  139. data/spec/lib/geoblacklight/bounding_box_spec.rb +1 -0
  140. data/spec/lib/geoblacklight/controller_override_spec.rb +1 -0
  141. data/spec/lib/geoblacklight/document_presenter_spec.rb +3 -2
  142. data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -0
  143. data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -0
  144. data/spec/lib/geoblacklight/download/hgl_download_spec.rb +1 -0
  145. data/spec/lib/geoblacklight/download/kmz_download_spec.rb +1 -0
  146. data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -0
  147. data/spec/lib/geoblacklight/download_spec.rb +2 -1
  148. data/spec/lib/geoblacklight/geoblacklight_helper_behavior_spec.rb +1 -0
  149. data/spec/lib/geoblacklight/item_viewer_spec.rb +1 -0
  150. data/spec/lib/geoblacklight/metadata/base_spec.rb +1 -0
  151. data/spec/lib/geoblacklight/metadata/html_spec.rb +1 -0
  152. data/spec/lib/geoblacklight/metadata_spec.rb +1 -0
  153. data/spec/lib/geoblacklight/metadata_transformer/base_spec.rb +3 -2
  154. data/spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb +3 -2
  155. data/spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb +3 -2
  156. data/spec/lib/geoblacklight/metadata_transformer_spec.rb +4 -3
  157. data/spec/lib/geoblacklight/reference_spec.rb +1 -0
  158. data/spec/lib/geoblacklight/references_spec.rb +2 -3
  159. data/spec/lib/geoblacklight/relation/ancestors_spec.rb +1 -0
  160. data/spec/lib/geoblacklight/relation/descendants_spec.rb +1 -0
  161. data/spec/lib/geoblacklight/relation/relation_response_spec.rb +1 -0
  162. data/spec/lib/geoblacklight/view_helper_override_spec.rb +1 -0
  163. data/spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb +5 -4
  164. data/spec/lib/geoblacklight/wms_layer_spec.rb +1 -0
  165. data/spec/models/concerns/geoblacklight/solr_document/carto_spec.rb +1 -20
  166. data/spec/models/concerns/geoblacklight/solr_document/citation_spec.rb +1 -0
  167. data/spec/models/concerns/geoblacklight/solr_document/finder_spec.rb +1 -0
  168. data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +1 -0
  169. data/spec/models/concerns/geoblacklight/solr_document_spec.rb +1 -0
  170. data/spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb +15 -2
  171. data/spec/routing/catalog_routing_spec.rb +1 -0
  172. data/spec/spec_helper.rb +12 -9
  173. data/spec/support/backport_test_helpers.rb +1 -0
  174. data/spec/support/features.rb +1 -0
  175. data/spec/support/features/session_helpers.rb +1 -0
  176. data/spec/support/fixtures.rb +1 -0
  177. data/spec/tasks/geoblacklight_spec.rb +4 -3
  178. data/spec/teaspoon_env.rb +1 -0
  179. data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -0
  180. data/spec/views/catalog/_document_split.html.erb_spec.rb +1 -0
  181. data/spec/views/catalog/_index_split.html.erb_spec.rb +1 -0
  182. data/spec/views/catalog/_results_pagination.html.erb_spec.rb +1 -0
  183. data/spec/views/catalog/_show_downloads.html.erb_spec.rb +1 -0
  184. data/spec/views/catalog/_show_tools.html.erb_spec.rb +2 -4
  185. data/template.rb +1 -0
  186. metadata +42 -68
  187. data/app/assets/stylesheets/geoblacklight/_geoblacklight.scss +0 -36
  188. data/app/assets/stylesheets/geoblacklight/modules/relations.scss +0 -15
  189. data/app/views/catalog/_exports.html.erb +0 -3
  190. data/app/views/catalog/_show_tools.html.erb +0 -25
  191. data/lib/generators/geoblacklight/templates/geoblacklight.scss +0 -4
  192. data/vendor/assets/javascripts/readmore.js +0 -0
  193. data/vendor/assets/javascripts/readmore.min.js +0 -0
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  gem 'blacklight', '~> 7.0'
2
3
  gem 'geoblacklight', '~> 2.0'
3
4
  gem 'webpacker'
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: 2.4.0
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-07-08 00:00:00.000000000 Z
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: '5.0'
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: '5.0'
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: '3.1'
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: '3.1'
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/_blacklight_overrides.scss
505
- - app/assets/stylesheets/geoblacklight/_geoblacklight.scss
506
- - app/assets/stylesheets/geoblacklight/_styles.scss
507
- - app/assets/stylesheets/geoblacklight/application.scss
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,15 +0,0 @@
1
- .relations {
2
- @include sidebar-children;
3
-
4
- .list-group {
5
- .relations-ancestors {
6
- padding-left: 16px;
7
- padding-right: 16px;
8
- }
9
-
10
- .relations-descendants {
11
- padding-left: 16px;
12
- padding-right: 16px;
13
- }
14
- }
15
- }
@@ -1,3 +0,0 @@
1
- <% document ||= @document %>
2
- <%= display_carto %>
3
- <%= display_arcgis %>
@@ -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 %>
@@ -1,4 +0,0 @@
1
- /*
2
- *= require geoblacklight/application
3
- *= require leaflet-label
4
- */
File without changes
File without changes