geoblacklight 2.2.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +212 -112
  3. data/.rubocop.yml +16 -14
  4. data/.rubocop_todo.yml +28 -151
  5. data/Gemfile +3 -8
  6. data/README.md +1 -1
  7. data/Rakefile +1 -0
  8. data/app/assets/images/blacklight/arrow-circle-down.svg +1 -2
  9. data/app/assets/images/blacklight/baruch-cuny.svg +1 -4
  10. data/app/assets/images/blacklight/berkeley.svg +1 -4
  11. data/app/assets/images/blacklight/book.svg +1 -4
  12. data/app/assets/images/blacklight/bookmark.svg +1 -4
  13. data/app/assets/images/blacklight/cd-rom.svg +1 -4
  14. data/app/assets/images/blacklight/chicago.svg +1 -4
  15. data/app/assets/images/blacklight/citation.svg +3 -0
  16. data/app/assets/images/blacklight/collection.svg +3 -0
  17. data/app/assets/images/blacklight/columbia.svg +1 -4
  18. data/app/assets/images/blacklight/cornell.svg +1 -4
  19. data/app/assets/images/blacklight/dvd-rom.svg +1 -4
  20. data/app/assets/images/blacklight/email.svg +1 -4
  21. data/app/assets/images/blacklight/esri-globe.svg +1 -4
  22. data/app/assets/images/blacklight/globe.svg +1 -2
  23. data/app/assets/images/blacklight/harvard.svg +1 -4
  24. data/app/assets/images/blacklight/home.svg +1 -2
  25. data/app/assets/images/blacklight/illinois.svg +1 -4
  26. data/app/assets/images/blacklight/image.svg +1 -4
  27. data/app/assets/images/blacklight/indiana.svg +1 -4
  28. data/app/assets/images/blacklight/iowa.svg +1 -4
  29. data/app/assets/images/blacklight/leaf.svg +1 -4
  30. data/app/assets/images/blacklight/lewis-clark.svg +1 -4
  31. data/app/assets/images/blacklight/line.svg +1 -4
  32. data/app/assets/images/blacklight/map-marker.svg +1 -4
  33. data/app/assets/images/blacklight/map.svg +1 -4
  34. data/app/assets/images/blacklight/maryland.svg +1 -4
  35. data/app/assets/images/blacklight/massgis.svg +1 -4
  36. data/app/assets/images/blacklight/metadata.svg +1 -4
  37. data/app/assets/images/blacklight/michigan-state.svg +1 -4
  38. data/app/assets/images/blacklight/michigan.svg +1 -4
  39. data/app/assets/images/blacklight/minnesota.svg +1 -4
  40. data/app/assets/images/blacklight/mit.svg +1 -4
  41. data/app/assets/images/blacklight/mixed.svg +1 -4
  42. data/app/assets/images/blacklight/multilinestring.svg +1 -4
  43. data/app/assets/images/blacklight/multipoint.svg +1 -4
  44. data/app/assets/images/blacklight/multipolygon.svg +1 -4
  45. data/app/assets/images/blacklight/nyu.svg +1 -4
  46. data/app/assets/images/blacklight/ohio-state.svg +1 -4
  47. data/app/assets/images/blacklight/pagelines-brands.svg +1 -4
  48. data/app/assets/images/blacklight/paper-map.svg +1 -4
  49. data/app/assets/images/blacklight/penn-state.svg +1 -4
  50. data/app/assets/images/blacklight/point.svg +1 -4
  51. data/app/assets/images/blacklight/polygon.svg +1 -4
  52. data/app/assets/images/blacklight/polyline.svg +1 -4
  53. data/app/assets/images/blacklight/princeton.svg +1 -4
  54. data/app/assets/images/blacklight/public.svg +1 -4
  55. data/app/assets/images/blacklight/purdue.svg +1 -4
  56. data/app/assets/images/blacklight/raster.svg +1 -4
  57. data/app/assets/images/blacklight/restricted.svg +1 -4
  58. data/app/assets/images/blacklight/sms.svg +1 -4
  59. data/app/assets/images/blacklight/stanford.svg +1 -4
  60. data/app/assets/images/blacklight/table.svg +1 -4
  61. data/app/assets/images/blacklight/tags.svg +1 -2
  62. data/app/assets/images/blacklight/texas.svg +1 -4
  63. data/app/assets/images/blacklight/tufts.svg +1 -4
  64. data/app/assets/images/blacklight/ucla.svg +1 -4
  65. data/app/assets/images/blacklight/uva.svg +1 -4
  66. data/app/assets/images/blacklight/web_services.svg +1 -4
  67. data/app/assets/images/blacklight/wisconsin.svg +1 -4
  68. data/app/assets/javascripts/geoblacklight/basemaps.js +18 -0
  69. data/app/assets/javascripts/geoblacklight/downloaders/downloader.js +1 -1
  70. data/app/assets/javascripts/geoblacklight/modules/geosearch.js +1 -1
  71. data/app/assets/javascripts/geoblacklight/modules/home.js +1 -1
  72. data/app/assets/javascripts/geoblacklight/modules/item.js +20 -1
  73. data/app/assets/javascripts/geoblacklight/modules/results.js +4 -2
  74. data/app/assets/javascripts/geoblacklight/modules/svg_tooltips.js +31 -0
  75. data/app/assets/javascripts/geoblacklight/viewers/esri.js +2 -2
  76. data/app/assets/javascripts/geoblacklight/viewers/esri/tiled_map_layer.js +1 -1
  77. data/app/assets/javascripts/geoblacklight/viewers/wms.js +2 -2
  78. data/app/assets/stylesheets/geoblacklight/geoblacklight.scss +2 -0
  79. data/app/assets/stylesheets/geoblacklight/modules/_base.scss +33 -0
  80. data/app/assets/stylesheets/geoblacklight/{_blacklight_overrides.scss → modules/_blacklight_overrides.scss} +1 -10
  81. data/app/assets/stylesheets/geoblacklight/{_styles.scss → modules/_styles.scss} +1 -0
  82. data/app/assets/stylesheets/geoblacklight/modules/downloads.scss +37 -54
  83. data/app/assets/stylesheets/geoblacklight/modules/item.scss +13 -0
  84. data/app/assets/stylesheets/geoblacklight/modules/results.scss +26 -29
  85. data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +12 -42
  86. data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +17 -59
  87. data/app/controllers/download_controller.rb +12 -12
  88. data/app/controllers/relation_controller.rb +1 -0
  89. data/app/controllers/wms_controller.rb +1 -0
  90. data/app/helpers/arcgis_helper.rb +1 -0
  91. data/app/helpers/blacklight_helper.rb +1 -0
  92. data/app/helpers/carto_helper.rb +1 -0
  93. data/app/helpers/geoblacklight_helper.rb +36 -79
  94. data/app/models/concerns/geoblacklight/solr_document.rb +15 -9
  95. data/app/models/concerns/geoblacklight/solr_document/arcgis.rb +2 -1
  96. data/app/models/concerns/geoblacklight/solr_document/carto.rb +1 -13
  97. data/app/models/concerns/geoblacklight/solr_document/citation.rb +29 -0
  98. data/app/models/concerns/geoblacklight/solr_document/finder.rb +1 -0
  99. data/app/models/concerns/geoblacklight/solr_document/inspection.rb +2 -1
  100. data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +3 -1
  101. data/app/presenters/geoblacklight/document_presenter.rb +2 -1
  102. data/app/views/catalog/_arcgis.html.erb +4 -0
  103. data/app/views/catalog/_carto.html.erb +4 -0
  104. data/app/views/catalog/_citation.html.erb +11 -0
  105. data/app/views/catalog/_data_dictionary.html.erb +1 -1
  106. data/app/views/catalog/_document_action.html.erb +1 -1
  107. data/app/views/catalog/_document_split.html.erb +1 -1
  108. data/app/views/catalog/_downloads_primary.html.erb +8 -1
  109. data/app/views/catalog/_header_icons.html.erb +3 -3
  110. data/app/views/catalog/_home_text.html.erb +4 -1
  111. data/app/views/catalog/_index_split_default.html.erb +22 -14
  112. data/app/views/catalog/_show_default_viewer_container.html.erb +1 -1
  113. data/app/views/catalog/_web_services_wfs.html.erb +3 -3
  114. data/app/views/catalog/_web_services_wms.html.erb +3 -3
  115. data/app/views/catalog/metadata.html.erb +3 -1
  116. data/app/views/catalog/web_services.html.erb +9 -7
  117. data/app/views/relation/_ancestors.html.erb +2 -5
  118. data/app/views/relation/_descendants.html.erb +3 -6
  119. data/app/views/relation/index.html.erb +20 -8
  120. data/app/views/relation/index.json.jbuilder +2 -1
  121. data/app/views/shared/_header_navbar.html.erb +1 -3
  122. data/bin/coverage.rb +36 -0
  123. data/config/initializers/rails_config.rb +1 -0
  124. data/config/locales/geoblacklight.en.yml +46 -61
  125. data/geoblacklight.gemspec +5 -8
  126. data/lib/generators/geoblacklight/assets_generator.rb +46 -0
  127. data/lib/generators/geoblacklight/install_generator.rb +8 -9
  128. data/lib/generators/geoblacklight/templates/assets/_blacklight.scss +1 -0
  129. data/lib/generators/geoblacklight/templates/assets/_customizations.scss +28 -0
  130. data/{app/assets/stylesheets/geoblacklight/application.scss → lib/generators/geoblacklight/templates/assets/_geoblacklight.scss} +0 -1
  131. data/lib/generators/geoblacklight/templates/assets/application.scss +7 -0
  132. data/lib/generators/geoblacklight/templates/{geoblacklight.js → assets/geoblacklight.js} +0 -1
  133. data/lib/generators/geoblacklight/templates/catalog_controller.rb +6 -2
  134. data/lib/generators/geoblacklight/templates/settings.yml +4 -6
  135. data/lib/generators/geoblacklight/webpacker_generator.rb +2 -1
  136. data/lib/geoblacklight.rb +1 -0
  137. data/lib/geoblacklight/bounding_box.rb +1 -0
  138. data/lib/geoblacklight/catalog_helper_override.rb +2 -1
  139. data/lib/geoblacklight/constants.rb +1 -0
  140. data/lib/geoblacklight/download.rb +6 -5
  141. data/lib/geoblacklight/download/geojson_download.rb +1 -0
  142. data/lib/geoblacklight/download/geotiff_download.rb +1 -0
  143. data/lib/geoblacklight/download/hgl_download.rb +1 -0
  144. data/lib/geoblacklight/download/kmz_download.rb +2 -1
  145. data/lib/geoblacklight/download/shapefile_download.rb +1 -0
  146. data/lib/geoblacklight/engine.rb +2 -2
  147. data/lib/geoblacklight/exceptions.rb +1 -0
  148. data/lib/geoblacklight/geoblacklight_helper_behavior.rb +1 -0
  149. data/lib/geoblacklight/item_viewer.rb +1 -0
  150. data/lib/geoblacklight/metadata.rb +1 -0
  151. data/lib/geoblacklight/metadata/base.rb +3 -2
  152. data/lib/geoblacklight/metadata/fgdc.rb +1 -0
  153. data/lib/geoblacklight/metadata/html.rb +2 -2
  154. data/lib/geoblacklight/metadata/iso19139.rb +1 -0
  155. data/lib/geoblacklight/metadata_transformer.rb +1 -0
  156. data/lib/geoblacklight/metadata_transformer/base.rb +1 -0
  157. data/lib/geoblacklight/metadata_transformer/fgdc.rb +1 -0
  158. data/lib/geoblacklight/metadata_transformer/iso19139.rb +1 -0
  159. data/lib/geoblacklight/reference.rb +1 -0
  160. data/lib/geoblacklight/references.rb +7 -3
  161. data/lib/geoblacklight/relation/ancestors.rb +2 -1
  162. data/lib/geoblacklight/relation/descendants.rb +2 -1
  163. data/lib/geoblacklight/relation/relation_response.rb +2 -1
  164. data/lib/geoblacklight/routes.rb +1 -0
  165. data/lib/geoblacklight/routes/downloadable.rb +1 -0
  166. data/lib/geoblacklight/routes/exportable.rb +1 -0
  167. data/lib/geoblacklight/routes/wms.rb +1 -0
  168. data/lib/geoblacklight/version.rb +2 -1
  169. data/lib/geoblacklight/view_helper_override.rb +2 -1
  170. data/lib/geoblacklight/wms_layer.rb +3 -2
  171. data/lib/geoblacklight/wms_layer/feature_info_response.rb +1 -0
  172. data/lib/tasks/geoblacklight.rake +33 -32
  173. data/solr/conf/schema.xml +5 -5
  174. data/spec/controllers/catalog_controller_spec.rb +1 -0
  175. data/spec/controllers/download_controller_spec.rb +2 -1
  176. data/spec/controllers/relation_controller_spec.rb +1 -0
  177. data/spec/controllers/wms_controller_spec.rb +2 -1
  178. data/spec/factories/user.rb +1 -0
  179. data/spec/features/bookmarks_spec.rb +1 -0
  180. data/spec/features/configurable_basemap_spec.rb +10 -0
  181. data/spec/features/data_dictionary_download_spec.rb +1 -0
  182. data/spec/features/download_layer_spec.rb +1 -0
  183. data/spec/features/empty_search_spec.rb +1 -0
  184. data/spec/features/esri_viewer_spec.rb +1 -6
  185. data/spec/features/exports_spec.rb +4 -12
  186. data/spec/features/help_text_spec.rb +1 -0
  187. data/spec/features/home_page_spec.rb +6 -0
  188. data/spec/features/iiif_viewer_spec.rb +1 -0
  189. data/spec/features/index_map_spec.rb +1 -0
  190. data/spec/features/layer_inspection_spec.rb +1 -0
  191. data/spec/features/layer_opacity_spec.rb +1 -0
  192. data/spec/features/layer_preview_spec.rb +1 -0
  193. data/spec/features/layer_with_no_references_spec.rb +1 -0
  194. data/spec/features/linkified_attribute_table_spec.rb +1 -0
  195. data/spec/features/metadata_panel_spec.rb +1 -0
  196. data/spec/features/missing_metadata_spec.rb +13 -0
  197. data/spec/features/multiple_downloads_spec.rb +15 -0
  198. data/spec/features/oembed_spec.rb +1 -0
  199. data/spec/features/relations_spec.rb +10 -28
  200. data/spec/features/saved_searches_spec.rb +1 -0
  201. data/spec/features/search_bar_spec.rb +1 -0
  202. data/spec/features/search_results_map_spec.rb +1 -6
  203. data/spec/features/search_results_overlap_ratio_spec.rb +4 -3
  204. data/spec/features/search_spec.rb +1 -0
  205. data/spec/features/show_page_metadata_spec.rb +1 -0
  206. data/spec/features/sms_spec.rb +1 -0
  207. data/spec/features/split_view.html.erb_spec.rb +4 -3
  208. data/spec/features/suppressed_records_spec.rb +1 -0
  209. data/spec/features/web_services_modal_spec.rb +1 -0
  210. data/spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json +30 -0
  211. data/spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json +17 -0
  212. data/spec/fixtures/solr_documents/metadata_no_solr_geom.json +23 -0
  213. data/spec/fixtures/solr_documents/multiple-downloads.json +30 -0
  214. data/spec/helpers/arcgis_helper_spec.rb +1 -0
  215. data/spec/helpers/carto_helper_spec.rb +1 -0
  216. data/spec/helpers/geoblacklight_helper_spec.rb +51 -5
  217. data/spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js +12 -0
  218. data/spec/javascripts/geoblacklight_spec.js +0 -4
  219. data/spec/lib/geoblacklight/bounding_box_spec.rb +1 -0
  220. data/spec/lib/geoblacklight/controller_override_spec.rb +1 -0
  221. data/spec/lib/geoblacklight/document_presenter_spec.rb +3 -2
  222. data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -0
  223. data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -0
  224. data/spec/lib/geoblacklight/download/hgl_download_spec.rb +1 -0
  225. data/spec/lib/geoblacklight/download/kmz_download_spec.rb +1 -0
  226. data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -0
  227. data/spec/lib/geoblacklight/download_spec.rb +4 -3
  228. data/spec/lib/geoblacklight/geoblacklight_helper_behavior_spec.rb +1 -0
  229. data/spec/lib/geoblacklight/item_viewer_spec.rb +1 -0
  230. data/spec/lib/geoblacklight/metadata/base_spec.rb +4 -3
  231. data/spec/lib/geoblacklight/metadata/html_spec.rb +1 -0
  232. data/spec/lib/geoblacklight/metadata_spec.rb +1 -0
  233. data/spec/lib/geoblacklight/metadata_transformer/base_spec.rb +3 -2
  234. data/spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb +3 -2
  235. data/spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb +3 -2
  236. data/spec/lib/geoblacklight/metadata_transformer_spec.rb +4 -3
  237. data/spec/lib/geoblacklight/reference_spec.rb +1 -0
  238. data/spec/lib/geoblacklight/references_spec.rb +2 -3
  239. data/spec/lib/geoblacklight/relation/ancestors_spec.rb +2 -1
  240. data/spec/lib/geoblacklight/relation/descendants_spec.rb +2 -1
  241. data/spec/lib/geoblacklight/relation/relation_response_spec.rb +1 -0
  242. data/spec/lib/geoblacklight/view_helper_override_spec.rb +1 -0
  243. data/spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb +5 -4
  244. data/spec/lib/geoblacklight/wms_layer_spec.rb +3 -2
  245. data/spec/models/concerns/geoblacklight/solr_document/carto_spec.rb +1 -20
  246. data/spec/models/concerns/geoblacklight/solr_document/citation_spec.rb +14 -0
  247. data/spec/models/concerns/geoblacklight/solr_document/finder_spec.rb +1 -0
  248. data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +1 -0
  249. data/spec/models/concerns/geoblacklight/solr_document_spec.rb +27 -0
  250. data/spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb +15 -2
  251. data/spec/routing/catalog_routing_spec.rb +1 -0
  252. data/spec/spec_helper.rb +12 -9
  253. data/spec/support/backport_test_helpers.rb +1 -0
  254. data/spec/support/features.rb +1 -0
  255. data/spec/support/features/session_helpers.rb +1 -0
  256. data/spec/support/fixtures.rb +8 -0
  257. data/spec/tasks/geoblacklight_spec.rb +19 -0
  258. data/spec/teaspoon_env.rb +1 -0
  259. data/spec/test_app_templates/Gemfile.extra +1 -0
  260. data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -0
  261. data/spec/views/catalog/_document_split.html.erb_spec.rb +1 -0
  262. data/spec/views/catalog/_index_split.html.erb_spec.rb +1 -0
  263. data/spec/views/catalog/_results_pagination.html.erb_spec.rb +1 -0
  264. data/spec/views/catalog/_show_downloads.html.erb_spec.rb +1 -0
  265. data/spec/views/catalog/_show_tools.html.erb_spec.rb +2 -4
  266. data/template.rb +1 -0
  267. data/vendor/assets/stylesheets/leaflet.css +0 -1
  268. metadata +69 -79
  269. data/app/assets/images/blacklight/logo.png +0 -0
  270. data/app/assets/javascripts/geoblacklight/modules/collapse.js +0 -7
  271. data/app/assets/stylesheets/geoblacklight/_geoblacklight.scss +0 -36
  272. data/app/assets/stylesheets/geoblacklight/modules/relations.scss +0 -15
  273. data/app/views/catalog/_exports.html.erb +0 -3
  274. data/app/views/catalog/_show_tools.html.erb +0 -25
  275. data/lib/generators/geoblacklight/templates/geoblacklight.scss +0 -4
  276. data/vendor/assets/javascripts/readmore.js +0 -618
  277. data/vendor/assets/javascripts/readmore.js.map +0 -1
@@ -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'
@@ -246,7 +246,6 @@
246
246
 
247
247
  .leaflet-container {
248
248
  background: #ddd;
249
- outline: 0;
250
249
  }
251
250
  .leaflet-container a {
252
251
  color: #0078A8;
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.2.0
4
+ version: 3.0.1
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: 2019-08-09 00:00:00.000000000 Z
14
+ date: 2020-08-19 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
+ - !ruby/object:Gem::Version
22
+ version: 5.2.4
23
+ - - "<"
21
24
  - !ruby/object:Gem::Version
22
- version: '5.0'
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
+ - - ">="
28
31
  - !ruby/object:Gem::Version
29
- version: '5.0'
32
+ version: 5.2.4
33
+ - - "<"
34
+ - !ruby/object:Gem::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
@@ -73,30 +65,30 @@ dependencies:
73
65
  name: faraday
74
66
  requirement: !ruby/object:Gem::Requirement
75
67
  requirements:
76
- - - ">="
68
+ - - "~>"
77
69
  - !ruby/object:Gem::Version
78
- version: '0'
70
+ version: '1.0'
79
71
  type: :runtime
80
72
  prerelease: false
81
73
  version_requirements: !ruby/object:Gem::Requirement
82
74
  requirements:
83
- - - ">="
75
+ - - "~>"
84
76
  - !ruby/object:Gem::Version
85
- version: '0'
77
+ version: '1.0'
86
78
  - !ruby/object:Gem::Dependency
87
79
  name: faraday_middleware
88
80
  requirement: !ruby/object:Gem::Requirement
89
81
  requirements:
90
- - - ">="
82
+ - - "~>"
91
83
  - !ruby/object:Gem::Version
92
- version: '0'
84
+ version: 1.0.0.rc1
93
85
  type: :runtime
94
86
  prerelease: false
95
87
  version_requirements: !ruby/object:Gem::Requirement
96
88
  requirements:
97
- - - ">="
89
+ - - "~>"
98
90
  - !ruby/object:Gem::Version
99
- version: '0'
91
+ version: 1.0.0.rc1
100
92
  - !ruby/object:Gem::Dependency
101
93
  name: coderay
102
94
  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:
@@ -413,6 +378,8 @@ files:
413
378
  - app/assets/images/blacklight/bookmark.svg
414
379
  - app/assets/images/blacklight/cd-rom.svg
415
380
  - app/assets/images/blacklight/chicago.svg
381
+ - app/assets/images/blacklight/citation.svg
382
+ - app/assets/images/blacklight/collection.svg
416
383
  - app/assets/images/blacklight/columbia.svg
417
384
  - app/assets/images/blacklight/cornell.svg
418
385
  - app/assets/images/blacklight/dvd-rom.svg
@@ -429,7 +396,6 @@ files:
429
396
  - app/assets/images/blacklight/leaf.svg
430
397
  - app/assets/images/blacklight/lewis-clark.svg
431
398
  - app/assets/images/blacklight/line.svg
432
- - app/assets/images/blacklight/logo.png
433
399
  - app/assets/images/blacklight/logo.svg
434
400
  - app/assets/images/blacklight/map-marker.svg
435
401
  - app/assets/images/blacklight/map.svg
@@ -475,7 +441,6 @@ files:
475
441
  - app/assets/javascripts/geoblacklight/downloaders/hgl_downloader.js
476
442
  - app/assets/javascripts/geoblacklight/geoblacklight.js
477
443
  - app/assets/javascripts/geoblacklight/modules.js
478
- - app/assets/javascripts/geoblacklight/modules/collapse.js
479
444
  - app/assets/javascripts/geoblacklight/modules/download.js
480
445
  - app/assets/javascripts/geoblacklight/modules/geosearch.js
481
446
  - app/assets/javascripts/geoblacklight/modules/help_text.js
@@ -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
@@ -535,10 +500,14 @@ files:
535
500
  - app/models/concerns/geoblacklight/solr_document.rb
536
501
  - app/models/concerns/geoblacklight/solr_document/arcgis.rb
537
502
  - app/models/concerns/geoblacklight/solr_document/carto.rb
503
+ - app/models/concerns/geoblacklight/solr_document/citation.rb
538
504
  - app/models/concerns/geoblacklight/solr_document/finder.rb
539
505
  - app/models/concerns/geoblacklight/solr_document/inspection.rb
540
506
  - app/models/concerns/geoblacklight/spatial_search_behavior.rb
541
507
  - app/presenters/geoblacklight/document_presenter.rb
508
+ - app/views/catalog/_arcgis.html.erb
509
+ - app/views/catalog/_carto.html.erb
510
+ - app/views/catalog/_citation.html.erb
542
511
  - app/views/catalog/_data_dictionary.html.erb
543
512
  - app/views/catalog/_document_action.html.erb
544
513
  - app/views/catalog/_document_split.html.erb
@@ -547,7 +516,6 @@ files:
547
516
  - app/views/catalog/_downloads_generated.html.erb
548
517
  - app/views/catalog/_downloads_primary.html.erb
549
518
  - app/views/catalog/_downloads_secondary.html.erb
550
- - app/views/catalog/_exports.html.erb
551
519
  - app/views/catalog/_facet_tag_item.html.erb
552
520
  - app/views/catalog/_facet_tag_layout.html.erb
553
521
  - app/views/catalog/_header_icons.html.erb
@@ -563,7 +531,6 @@ files:
563
531
  - app/views/catalog/_show_downloads.html.erb
564
532
  - app/views/catalog/_show_header_default.html.erb
565
533
  - app/views/catalog/_show_sidebar.html.erb
566
- - app/views/catalog/_show_tools.html.erb
567
534
  - app/views/catalog/_web_services.html.erb
568
535
  - app/views/catalog/_web_services_default.html.erb
569
536
  - app/views/catalog/_web_services_wfs.html.erb
@@ -580,14 +547,19 @@ files:
580
547
  - app/views/relation/index.html.erb
581
548
  - app/views/relation/index.json.jbuilder
582
549
  - app/views/shared/_header_navbar.html.erb
550
+ - bin/coverage.rb
583
551
  - config/initializers/rails_config.rb
584
552
  - config/locales/geoblacklight.en.yml
585
553
  - geoblacklight.gemspec
554
+ - lib/generators/geoblacklight/assets_generator.rb
586
555
  - lib/generators/geoblacklight/install_generator.rb
587
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
588
562
  - lib/generators/geoblacklight/templates/catalog_controller.rb
589
- - lib/generators/geoblacklight/templates/geoblacklight.js
590
- - lib/generators/geoblacklight/templates/geoblacklight.scss
591
563
  - lib/generators/geoblacklight/templates/package.json
592
564
  - lib/generators/geoblacklight/templates/settings.yml
593
565
  - lib/generators/geoblacklight/templates/webpacker.yml
@@ -679,6 +651,7 @@ files:
679
651
  - spec/features/linkified_attribute_table_spec.rb
680
652
  - spec/features/metadata_panel_spec.rb
681
653
  - spec/features/missing_metadata_spec.rb
654
+ - spec/features/multiple_downloads_spec.rb
682
655
  - spec/features/oembed_spec.rb
683
656
  - spec/features/relations_spec.rb
684
657
  - spec/features/saved_searches_spec.rb
@@ -717,6 +690,10 @@ files:
717
690
  - spec/fixtures/solr_documents/index-map-polygon.json
718
691
  - spec/fixtures/solr_documents/index-map-stanford.json
719
692
  - spec/fixtures/solr_documents/index_map_point.json
693
+ - spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json
694
+ - spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json
695
+ - spec/fixtures/solr_documents/metadata_no_solr_geom.json
696
+ - spec/fixtures/solr_documents/multiple-downloads.json
720
697
  - spec/fixtures/solr_documents/no_spatial.json
721
698
  - spec/fixtures/solr_documents/oembed.json
722
699
  - spec/fixtures/solr_documents/princeton-child1.json
@@ -735,6 +712,7 @@ files:
735
712
  - spec/helpers/arcgis_helper_spec.rb
736
713
  - spec/helpers/carto_helper_spec.rb
737
714
  - spec/helpers/geoblacklight_helper_spec.rb
715
+ - spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js
738
716
  - spec/javascripts/geoblacklight_spec.js
739
717
  - spec/javascripts/metadata_download_button_spec.js
740
718
  - spec/javascripts/spec_helper.js
@@ -766,6 +744,7 @@ files:
766
744
  - spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb
767
745
  - spec/lib/geoblacklight/wms_layer_spec.rb
768
746
  - spec/models/concerns/geoblacklight/solr_document/carto_spec.rb
747
+ - spec/models/concerns/geoblacklight/solr_document/citation_spec.rb
769
748
  - spec/models/concerns/geoblacklight/solr_document/finder_spec.rb
770
749
  - spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb
771
750
  - spec/models/concerns/geoblacklight/solr_document_spec.rb
@@ -775,7 +754,10 @@ files:
775
754
  - spec/support/backport_test_helpers.rb
776
755
  - spec/support/features.rb
777
756
  - spec/support/features/session_helpers.rb
757
+ - spec/support/fixtures.rb
758
+ - spec/tasks/geoblacklight_spec.rb
778
759
  - spec/teaspoon_env.rb
760
+ - spec/test_app_templates/Gemfile.extra
779
761
  - spec/test_app_templates/lib/generators/test_app_generator.rb
780
762
  - spec/test_app_templates/metadata/fgdc.html
781
763
  - spec/test_app_templates/metadata/fgdc.xml
@@ -799,8 +781,6 @@ files:
799
781
  - vendor/assets/javascripts/leaflet-src.js.map
800
782
  - vendor/assets/javascripts/leaflet.js.erb
801
783
  - vendor/assets/javascripts/native.history.js
802
- - vendor/assets/javascripts/readmore.js
803
- - vendor/assets/javascripts/readmore.js.map
804
784
  - vendor/assets/stylesheets/leaflet-label.css
805
785
  - vendor/assets/stylesheets/leaflet.css
806
786
  homepage: http://github.com/geoblacklight/geoblacklight
@@ -822,7 +802,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
822
802
  - !ruby/object:Gem::Version
823
803
  version: 2.5.2
824
804
  requirements: []
825
- rubygems_version: 3.0.3
805
+ rubygems_version: 3.1.2
826
806
  signing_key:
827
807
  specification_version: 4
828
808
  summary: A discovery platform for geospatial holdings
@@ -850,6 +830,7 @@ test_files:
850
830
  - spec/features/linkified_attribute_table_spec.rb
851
831
  - spec/features/metadata_panel_spec.rb
852
832
  - spec/features/missing_metadata_spec.rb
833
+ - spec/features/multiple_downloads_spec.rb
853
834
  - spec/features/oembed_spec.rb
854
835
  - spec/features/relations_spec.rb
855
836
  - spec/features/saved_searches_spec.rb
@@ -888,6 +869,10 @@ test_files:
888
869
  - spec/fixtures/solr_documents/index-map-polygon.json
889
870
  - spec/fixtures/solr_documents/index-map-stanford.json
890
871
  - spec/fixtures/solr_documents/index_map_point.json
872
+ - spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json
873
+ - spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json
874
+ - spec/fixtures/solr_documents/metadata_no_solr_geom.json
875
+ - spec/fixtures/solr_documents/multiple-downloads.json
891
876
  - spec/fixtures/solr_documents/no_spatial.json
892
877
  - spec/fixtures/solr_documents/oembed.json
893
878
  - spec/fixtures/solr_documents/princeton-child1.json
@@ -906,6 +891,7 @@ test_files:
906
891
  - spec/helpers/arcgis_helper_spec.rb
907
892
  - spec/helpers/carto_helper_spec.rb
908
893
  - spec/helpers/geoblacklight_helper_spec.rb
894
+ - spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js
909
895
  - spec/javascripts/geoblacklight_spec.js
910
896
  - spec/javascripts/metadata_download_button_spec.js
911
897
  - spec/javascripts/spec_helper.js
@@ -937,6 +923,7 @@ test_files:
937
923
  - spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb
938
924
  - spec/lib/geoblacklight/wms_layer_spec.rb
939
925
  - spec/models/concerns/geoblacklight/solr_document/carto_spec.rb
926
+ - spec/models/concerns/geoblacklight/solr_document/citation_spec.rb
940
927
  - spec/models/concerns/geoblacklight/solr_document/finder_spec.rb
941
928
  - spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb
942
929
  - spec/models/concerns/geoblacklight/solr_document_spec.rb
@@ -946,7 +933,10 @@ test_files:
946
933
  - spec/support/backport_test_helpers.rb
947
934
  - spec/support/features.rb
948
935
  - spec/support/features/session_helpers.rb
936
+ - spec/support/fixtures.rb
937
+ - spec/tasks/geoblacklight_spec.rb
949
938
  - spec/teaspoon_env.rb
939
+ - spec/test_app_templates/Gemfile.extra
950
940
  - spec/test_app_templates/lib/generators/test_app_generator.rb
951
941
  - spec/test_app_templates/metadata/fgdc.html
952
942
  - spec/test_app_templates/metadata/fgdc.xml
@@ -1,7 +0,0 @@
1
- Blacklight.onLoad(function() {
2
- $('#content')
3
- .on('click', '#documents [data-layer-id]', function() {
4
- $(this).find('.collapse').collapse('toggle');
5
- $(this).find('.caret-toggle').toggleClass('open');
6
- });
7
- });
@@ -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';