geoblacklight 4.1.1 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +3 -11
- data/.gitignore +9 -0
- data/Gemfile +14 -0
- data/Procfile.dev +3 -0
- data/README.md +5 -30
- data/app/assets/images/blacklight/geoblacklight-icons.json +1857 -966
- data/app/assets/javascripts/geoblacklight/modules/util.js +8 -3
- data/app/assets/javascripts/geoblacklight/templates/index_map_info.hbs +22 -1
- data/app/assets/javascripts/geoblacklight/viewers/cog.js +5 -0
- data/app/assets/javascripts/geoblacklight/viewers/pmtiles.js +5 -0
- data/app/controllers/download_controller.rb +1 -21
- data/app/frontend/clover/clover_initializer.js +29 -0
- data/app/frontend/entrypoints/application.js +28 -0
- data/app/frontend/entrypoints/clover.js +5 -0
- data/app/frontend/entrypoints/ol.js +5 -0
- data/app/frontend/openlayers/basemaps.js +47 -0
- data/app/frontend/openlayers/ol_initializer.js +105 -0
- data/app/frontend/stylesheets/openlayers.css +1 -0
- data/app/helpers/geoblacklight/application_helper.rb +8 -0
- data/app/helpers/geoblacklight_helper.rb +54 -0
- data/app/views/catalog/_citation.html.erb +1 -1
- data/app/views/catalog/_show_default_viewer_container.html.erb +1 -2
- data/app/views/catalog/_web_services_default.html.erb +6 -1
- data/app/views/catalog/_web_services_wfs.html.erb +6 -1
- data/app/views/catalog/_web_services_wms.html.erb +6 -1
- data/app/views/catalog/web_services.html.erb +16 -0
- data/bin/vite +29 -0
- data/config/locales/geoblacklight.en.yml +12 -2
- data/config/vite.json +14 -0
- data/geoblacklight.gemspec +7 -5
- data/lib/generators/geoblacklight/install_generator.rb +19 -4
- data/lib/generators/geoblacklight/templates/base.html.erb +52 -0
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +0 -2
- data/lib/generators/geoblacklight/templates/settings.yml +4 -0
- data/lib/generators/geoblacklight/templates/vite.json +16 -0
- data/lib/geoblacklight/constants.rb +3 -1
- data/lib/geoblacklight/engine.rb +24 -0
- data/lib/geoblacklight/faraday_middleware/follow_redirects.rb +1 -1
- data/lib/geoblacklight/item_viewer.rb +13 -1
- data/lib/geoblacklight/metadata_transformer/base.rb +1 -1
- data/lib/geoblacklight/version.rb +1 -1
- data/package.json +8 -12
- data/spec/features/download_layer_spec.rb +1 -2
- data/spec/features/full_screen_controll_spec.rb +8 -1
- data/spec/features/home_page_spec.rb +3 -0
- data/spec/features/search_results_map_spec.rb +1 -0
- data/spec/features/web_services_modal_spec.rb +30 -0
- data/spec/fixtures/index_maps/index-map-point.geojson +949 -0
- data/spec/fixtures/index_maps/index-map-polygon-no-downloadurl.geojson +970 -0
- data/spec/fixtures/index_maps/index-map-polygon.geojson +970 -0
- data/spec/fixtures/index_maps/index-map-stanford.geojson +390 -0
- data/spec/fixtures/index_maps/index-map-v1-complex.geojson +12249 -0
- data/spec/fixtures/solr_documents/README.md +1 -0
- data/spec/fixtures/solr_documents/b1g_iiif_manifest.json +64 -0
- data/spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json +1 -1
- data/spec/fixtures/solr_documents/index-map-polygon.json +1 -1
- data/spec/fixtures/solr_documents/index-map-stanford.json +1 -1
- data/spec/fixtures/solr_documents/index-map-v1-complex.json +56 -0
- data/spec/fixtures/solr_documents/index_map_point.json +1 -1
- data/spec/fixtures/solr_documents/public_cog_princeton.json +57 -0
- data/spec/fixtures/solr_documents/public_pmtiles_princeton.json +41 -0
- data/spec/helpers/geoblacklight_helper_spec.rb +42 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/test_app_templates/Gemfile.extra +0 -1
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +7 -17
- data/vite.config.ts +8 -0
- metadata +74 -27
- data/spec/test_app_templates/solr_documents +0 -1
- /data/spec/{test_app_templates → fixtures}/metadata/fgdc.html +0 -0
- /data/spec/{test_app_templates → fixtures}/metadata/fgdc.xml +0 -0
- /data/spec/{test_app_templates → fixtures}/metadata/iso.html +0 -0
- /data/spec/{test_app_templates → fixtures}/metadata/iso.xml +0 -0
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.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Graves
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2024-02-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '6.1'
|
23
23
|
- - "<"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '7.
|
25
|
+
version: '7.2'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
28
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -32,27 +32,21 @@ dependencies:
|
|
32
32
|
version: '6.1'
|
33
33
|
- - "<"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '7.
|
35
|
+
version: '7.2'
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: blacklight
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '7.0'
|
43
|
-
- - "<="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '7.33'
|
46
43
|
type: :runtime
|
47
44
|
prerelease: false
|
48
45
|
version_requirements: !ruby/object:Gem::Requirement
|
49
46
|
requirements:
|
50
|
-
- - "
|
47
|
+
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '7.0'
|
53
|
-
- - "<="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '7.33'
|
56
50
|
- !ruby/object:Gem::Dependency
|
57
51
|
name: config
|
58
52
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,16 +65,16 @@ dependencies:
|
|
71
65
|
name: faraday
|
72
66
|
requirement: !ruby/object:Gem::Requirement
|
73
67
|
requirements:
|
74
|
-
- - "
|
68
|
+
- - "~>"
|
75
69
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
70
|
+
version: '2.0'
|
77
71
|
type: :runtime
|
78
72
|
prerelease: false
|
79
73
|
version_requirements: !ruby/object:Gem::Requirement
|
80
74
|
requirements:
|
81
|
-
- - "
|
75
|
+
- - "~>"
|
82
76
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
77
|
+
version: '2.0'
|
84
78
|
- !ruby/object:Gem::Dependency
|
85
79
|
name: coderay
|
86
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,6 +159,34 @@ dependencies:
|
|
165
159
|
- - ">="
|
166
160
|
- !ruby/object:Gem::Version
|
167
161
|
version: '0'
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
name: sprockets-rails
|
164
|
+
requirement: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '3.0'
|
169
|
+
type: :runtime
|
170
|
+
prerelease: false
|
171
|
+
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - "~>"
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '3.0'
|
176
|
+
- !ruby/object:Gem::Dependency
|
177
|
+
name: vite_rails
|
178
|
+
requirement: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - "~>"
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '3.0'
|
183
|
+
type: :runtime
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '3.0'
|
168
190
|
- !ruby/object:Gem::Dependency
|
169
191
|
name: solr_wrapper
|
170
192
|
requirement: !ruby/object:Gem::Requirement
|
@@ -269,28 +291,28 @@ dependencies:
|
|
269
291
|
requirements:
|
270
292
|
- - "~>"
|
271
293
|
- !ruby/object:Gem::Version
|
272
|
-
version: '
|
294
|
+
version: '2.0'
|
273
295
|
type: :development
|
274
296
|
prerelease: false
|
275
297
|
version_requirements: !ruby/object:Gem::Requirement
|
276
298
|
requirements:
|
277
299
|
- - "~>"
|
278
300
|
- !ruby/object:Gem::Version
|
279
|
-
version: '
|
301
|
+
version: '2.0'
|
280
302
|
- !ruby/object:Gem::Dependency
|
281
303
|
name: simplecov
|
282
304
|
requirement: !ruby/object:Gem::Requirement
|
283
305
|
requirements:
|
284
306
|
- - "~>"
|
285
307
|
- !ruby/object:Gem::Version
|
286
|
-
version: 0.
|
308
|
+
version: '0.22'
|
287
309
|
type: :development
|
288
310
|
prerelease: false
|
289
311
|
version_requirements: !ruby/object:Gem::Requirement
|
290
312
|
requirements:
|
291
313
|
- - "~>"
|
292
314
|
- !ruby/object:Gem::Version
|
293
|
-
version: 0.
|
315
|
+
version: '0.22'
|
294
316
|
- !ruby/object:Gem::Dependency
|
295
317
|
name: foreman
|
296
318
|
requirement: !ruby/object:Gem::Requirement
|
@@ -342,7 +364,8 @@ email:
|
|
342
364
|
- drh@stanford.edu
|
343
365
|
- eliotj@princeton.edu
|
344
366
|
- pjreed@stanford.edu
|
345
|
-
executables:
|
367
|
+
executables:
|
368
|
+
- vite
|
346
369
|
extensions: []
|
347
370
|
extra_rdoc_files: []
|
348
371
|
files:
|
@@ -358,6 +381,7 @@ files:
|
|
358
381
|
- CONTRIBUTING.md
|
359
382
|
- Gemfile
|
360
383
|
- LICENSE.txt
|
384
|
+
- Procfile.dev
|
361
385
|
- README.md
|
362
386
|
- Rakefile
|
363
387
|
- app/assets/images/blacklight/american-geographical-society-library-uwm-libraries.svg
|
@@ -477,6 +501,7 @@ files:
|
|
477
501
|
- app/assets/javascripts/geoblacklight/templates/index_map_download.hbs
|
478
502
|
- app/assets/javascripts/geoblacklight/templates/index_map_info.hbs
|
479
503
|
- app/assets/javascripts/geoblacklight/viewers.js
|
504
|
+
- app/assets/javascripts/geoblacklight/viewers/cog.js
|
480
505
|
- app/assets/javascripts/geoblacklight/viewers/esri.js
|
481
506
|
- app/assets/javascripts/geoblacklight/viewers/esri/dynamic_map_layer.js
|
482
507
|
- app/assets/javascripts/geoblacklight/viewers/esri/feature_layer.js
|
@@ -486,6 +511,7 @@ files:
|
|
486
511
|
- app/assets/javascripts/geoblacklight/viewers/index_map.js
|
487
512
|
- app/assets/javascripts/geoblacklight/viewers/map.js
|
488
513
|
- app/assets/javascripts/geoblacklight/viewers/oembed.js
|
514
|
+
- app/assets/javascripts/geoblacklight/viewers/pmtiles.js
|
489
515
|
- app/assets/javascripts/geoblacklight/viewers/tilejson.js
|
490
516
|
- app/assets/javascripts/geoblacklight/viewers/tms.js
|
491
517
|
- app/assets/javascripts/geoblacklight/viewers/viewer.js
|
@@ -523,9 +549,17 @@ files:
|
|
523
549
|
- app/controllers/download_controller.rb
|
524
550
|
- app/controllers/relation_controller.rb
|
525
551
|
- app/controllers/wms_controller.rb
|
552
|
+
- app/frontend/clover/clover_initializer.js
|
553
|
+
- app/frontend/entrypoints/application.js
|
554
|
+
- app/frontend/entrypoints/clover.js
|
555
|
+
- app/frontend/entrypoints/ol.js
|
556
|
+
- app/frontend/openlayers/basemaps.js
|
557
|
+
- app/frontend/openlayers/ol_initializer.js
|
558
|
+
- app/frontend/stylesheets/openlayers.css
|
526
559
|
- app/helpers/arcgis_helper.rb
|
527
560
|
- app/helpers/blacklight_helper.rb
|
528
561
|
- app/helpers/carto_helper.rb
|
562
|
+
- app/helpers/geoblacklight/application_helper.rb
|
529
563
|
- app/helpers/geoblacklight/geoblacklight_helper_behavior.rb
|
530
564
|
- app/helpers/geoblacklight_helper.rb
|
531
565
|
- app/models/concerns/geoblacklight/bbox_filter_field.rb
|
@@ -576,9 +610,11 @@ files:
|
|
576
610
|
- app/views/relation/index.json.jbuilder
|
577
611
|
- app/views/shared/_header_navbar.html.erb
|
578
612
|
- babel.config.json
|
613
|
+
- bin/vite
|
579
614
|
- config/initializers/new_gbl_settings_defaults_4.1.yml
|
580
615
|
- config/initializers/rails_config.rb
|
581
616
|
- config/locales/geoblacklight.en.yml
|
617
|
+
- config/vite.json
|
582
618
|
- geoblacklight.gemspec
|
583
619
|
- jest.config.js
|
584
620
|
- lib/generators/geoblacklight/assets_generator.rb
|
@@ -588,9 +624,11 @@ files:
|
|
588
624
|
- lib/generators/geoblacklight/templates/assets/_geoblacklight.scss
|
589
625
|
- lib/generators/geoblacklight/templates/assets/application.scss
|
590
626
|
- lib/generators/geoblacklight/templates/assets/geoblacklight.js
|
627
|
+
- lib/generators/geoblacklight/templates/base.html.erb
|
591
628
|
- lib/generators/geoblacklight/templates/catalog_controller.rb
|
592
629
|
- lib/generators/geoblacklight/templates/settings.gbl_v1.yml
|
593
630
|
- lib/generators/geoblacklight/templates/settings.yml
|
631
|
+
- lib/generators/geoblacklight/templates/vite.json
|
594
632
|
- lib/geoblacklight.rb
|
595
633
|
- lib/geoblacklight/bounding_box.rb
|
596
634
|
- lib/geoblacklight/constants.rb
|
@@ -701,10 +739,19 @@ files:
|
|
701
739
|
- spec/features/wmts_spec.rb
|
702
740
|
- spec/features/xyz_spec.rb
|
703
741
|
- spec/fixtures/fgdc/harvard-g7064-s2-1834-k3.xml
|
742
|
+
- spec/fixtures/index_maps/index-map-point.geojson
|
743
|
+
- spec/fixtures/index_maps/index-map-polygon-no-downloadurl.geojson
|
744
|
+
- spec/fixtures/index_maps/index-map-polygon.geojson
|
745
|
+
- spec/fixtures/index_maps/index-map-stanford.geojson
|
746
|
+
- spec/fixtures/index_maps/index-map-v1-complex.geojson
|
704
747
|
- spec/fixtures/iso19139/stanford-cg357zz0321.xml
|
705
748
|
- spec/fixtures/manifests/tilejson.json
|
706
749
|
- spec/fixtures/manifests/wmts-multiple.xml
|
707
750
|
- spec/fixtures/manifests/wmts-single.xml
|
751
|
+
- spec/fixtures/metadata/fgdc.html
|
752
|
+
- spec/fixtures/metadata/fgdc.xml
|
753
|
+
- spec/fixtures/metadata/iso.html
|
754
|
+
- spec/fixtures/metadata/iso.xml
|
708
755
|
- spec/fixtures/mods/fb897vt9938.mods
|
709
756
|
- spec/fixtures/mods/stanford-cg357zz0321.mods
|
710
757
|
- spec/fixtures/solr_documents/README.md
|
@@ -713,6 +760,7 @@ files:
|
|
713
760
|
- spec/fixtures/solr_documents/actual-polygon1.json
|
714
761
|
- spec/fixtures/solr_documents/actual-raster1.json
|
715
762
|
- spec/fixtures/solr_documents/all-relationships.json
|
763
|
+
- spec/fixtures/solr_documents/b1g_iiif_manifest.json
|
716
764
|
- spec/fixtures/solr_documents/b1g_wabash_child_15.json
|
717
765
|
- spec/fixtures/solr_documents/b1g_wabash_child_16.json
|
718
766
|
- spec/fixtures/solr_documents/b1g_wabash_child_17.json
|
@@ -735,6 +783,7 @@ files:
|
|
735
783
|
- spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json
|
736
784
|
- spec/fixtures/solr_documents/index-map-polygon.json
|
737
785
|
- spec/fixtures/solr_documents/index-map-stanford.json
|
786
|
+
- spec/fixtures/solr_documents/index-map-v1-complex.json
|
738
787
|
- spec/fixtures/solr_documents/index_map_point.json
|
739
788
|
- spec/fixtures/solr_documents/metadata_no_geom.json
|
740
789
|
- spec/fixtures/solr_documents/metadata_no_provider.json
|
@@ -747,8 +796,10 @@ files:
|
|
747
796
|
- spec/fixtures/solr_documents/princeton-child3.json
|
748
797
|
- spec/fixtures/solr_documents/princeton-child4.json
|
749
798
|
- spec/fixtures/solr_documents/princeton-parent.json
|
799
|
+
- spec/fixtures/solr_documents/public_cog_princeton.json
|
750
800
|
- spec/fixtures/solr_documents/public_direct_download.json
|
751
801
|
- spec/fixtures/solr_documents/public_iiif_princeton.json
|
802
|
+
- spec/fixtures/solr_documents/public_pmtiles_princeton.json
|
752
803
|
- spec/fixtures/solr_documents/public_polygon_mit.json
|
753
804
|
- spec/fixtures/solr_documents/restricted-line.json
|
754
805
|
- spec/fixtures/solr_documents/the-related-record.json
|
@@ -812,11 +863,6 @@ files:
|
|
812
863
|
- spec/tasks/geoblacklight_spec.rb
|
813
864
|
- spec/test_app_templates/Gemfile.extra
|
814
865
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
815
|
-
- spec/test_app_templates/metadata/fgdc.html
|
816
|
-
- spec/test_app_templates/metadata/fgdc.xml
|
817
|
-
- spec/test_app_templates/metadata/iso.html
|
818
|
-
- spec/test_app_templates/metadata/iso.xml
|
819
|
-
- spec/test_app_templates/solr_documents
|
820
866
|
- spec/views/catalog/_document_split.html.erb_spec.rb
|
821
867
|
- spec/views/catalog/_index_split.html.erb_spec.rb
|
822
868
|
- spec/views/catalog/_results_pagination.html.erb_spec.rb
|
@@ -839,6 +885,7 @@ files:
|
|
839
885
|
- vendor/assets/javascripts/native.history.js
|
840
886
|
- vendor/assets/stylesheets/leaflet.css
|
841
887
|
- vendor/assets/stylesheets/leaflet.fullscreen.css
|
888
|
+
- vite.config.ts
|
842
889
|
homepage: http://github.com/geoblacklight/geoblacklight
|
843
890
|
licenses:
|
844
891
|
- Apache 2.0
|
@@ -858,7 +905,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
858
905
|
- !ruby/object:Gem::Version
|
859
906
|
version: 2.5.2
|
860
907
|
requirements: []
|
861
|
-
rubygems_version: 3.4.
|
908
|
+
rubygems_version: 3.4.21
|
862
909
|
signing_key:
|
863
910
|
specification_version: 4
|
864
911
|
summary: A discovery platform for geospatial holdings
|
@@ -1 +0,0 @@
|
|
1
|
-
../fixtures/solr_documents
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|