blacklight_heatmaps 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24f086dfa95576ef614df42a0e330472852275e379efce3a10b018e22506c369
4
- data.tar.gz: 3f17b5bf828fd918b39bc1fdcd2d41936b8d56083a25ca2d992d6bc75fa79e62
3
+ metadata.gz: e5f792dd3439c90b1cc83ab1795075b47fa180e3ded27fad4f48105d967633e0
4
+ data.tar.gz: ff7a0845972e091916328f5eb3d3fb48fdb0517a5529adabc98509a83940c93b
5
5
  SHA512:
6
- metadata.gz: 469bce42ba24493fd508fd413598106923b0eb0dc15f1a7bf4c71272a3fe4bbef4853e88a5cfbfbb3d5d5d60f891a118c1cb57a65d5c3dc6a6fe081d513aaa0a
7
- data.tar.gz: fcc61b79be207c9fac704e5ad1c3db497928dbd5e7acc15eccc7018c56407df9c1f44670c0898384ce14f381994cb945c23a588034847e0d0ba99bfc65ea1c8c
6
+ metadata.gz: d80757994c735f385cff5ba8cddca36b7c32915bfffed7dd702ffcbc5e8faddf76f5feca22bd3bc1fc9a1feff35d16a751ed2b78daaafa48ea849d27e5d46ad3
7
+ data.tar.gz: 727bd1fd654f14b78b963154fbf1ef4ea83575a2bbeb59fc504af6dd0fab53958184d6a0561a493bb3a3bdc250155574053c277ecd902ace3302bb0bb9dd3fdb
@@ -0,0 +1,8 @@
1
+ //= require leaflet
2
+ //= require L.Control.Sidebar
3
+ import 'blacklight-heatmaps/vendor/assets/javascripts/leaflet_solr_heatmap'
4
+ import 'blacklight_heatmaps'
5
+ import 'basemaps'
6
+ import 'icons'
7
+ import 'viewers/index'
8
+ import 'viewers/show'
@@ -7,7 +7,7 @@ module BlacklightHeatmaps
7
7
  # Blacklight::Gallery:Icons::SlideshowComponent.svg = '<svg>your SVG here</svg>'
8
8
  class HeatmapsComponent < Blacklight::Icons::IconComponent
9
9
  self.svg = <<~SVG
10
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 10h-2v2h2v-2zm0 4h-2v2h2v-2zm-8-4H6v2h2v-2zm4 0h-2v2h2v-2zm8-6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"/></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 10h-2v2h2v-2zm0 4h-2v2h2v-2zm-8-4H6v2h2v-2zm4 0h-2v2h2v-2zm8-6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"/></svg>
11
11
  SVG
12
12
  end
13
13
  end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ pin_all_from File.expand_path('../app/assets/javascripts/blacklight_heatmaps', __dir__), under: 'blacklight_heatmaps'
4
+ pin_all_from File.expand_path('../vendor/assets/javascripts', __dir__)
@@ -14,5 +14,9 @@ module BlacklightHeatmaps
14
14
  end
15
15
  end
16
16
  end
17
+
18
+ initializer "blacklight_heatmaps.importmap", before: "importmap" do |app|
19
+ app.config.importmap.paths << Engine.root.join("config/importmap.rb") if app.config.respond_to?(:importmap)
20
+ end
17
21
  end
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module BlacklightHeatmaps
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_heatmaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -176,9 +176,10 @@ files:
176
176
  - app/assets/javascripts/blacklight_heatmaps/basemaps.js
177
177
  - app/assets/javascripts/blacklight_heatmaps/blacklight_heatmaps.js
178
178
  - app/assets/javascripts/blacklight_heatmaps/default.js
179
- - app/assets/javascripts/blacklight_heatmaps/icons.js.erb
179
+ - app/assets/javascripts/blacklight_heatmaps/icons.js
180
180
  - app/assets/javascripts/blacklight_heatmaps/viewers/index.js
181
181
  - app/assets/javascripts/blacklight_heatmaps/viewers/show.js
182
+ - app/assets/javascripts/index.js
182
183
  - app/assets/stylesheets/blacklight_heatmaps/default.scss
183
184
  - app/components/blacklight_heatmaps/icons/heatmaps_component.rb
184
185
  - app/controllers/blacklight_heatmaps/application_controller.rb
@@ -193,6 +194,7 @@ files:
193
194
  - app/views/catalog/_show_leaflet_map_default.html.erb
194
195
  - app/views/catalog/index.heatmaps.jbuilder
195
196
  - app/views/layouts/blacklight_heatmaps/application.html.erb
197
+ - config/importmap.rb
196
198
  - config/locales/blacklight-heatmaps.en.yml
197
199
  - config/locales/blacklight-heatmaps.es.yml
198
200
  - config/locales/blacklight-heatmaps.pt-BR.yml
@@ -204,7 +206,6 @@ files:
204
206
  - lib/generators/blacklight_heatmaps/templates/blacklight_heatmaps.js
205
207
  - lib/generators/blacklight_heatmaps/templates/blacklight_heatmaps.scss
206
208
  - lib/tasks/blacklight_heatmaps_tasks.rake
207
- - spec/examples.txt
208
209
  - spec/features/configurable_basemap_spec.rb
209
210
  - spec/features/index_page_map_spec.rb
210
211
  - spec/features/show_page_map_spec.rb
@@ -242,12 +243,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
243
  - !ruby/object:Gem::Version
243
244
  version: '0'
244
245
  requirements: []
245
- rubygems_version: 3.5.23
246
+ rubygems_version: 3.4.19
246
247
  signing_key:
247
248
  specification_version: 4
248
249
  summary: Search and view Blacklight resources on a map.
249
250
  test_files:
250
- - spec/examples.txt
251
251
  - spec/features/configurable_basemap_spec.rb
252
252
  - spec/features/index_page_map_spec.rb
253
253
  - spec/features/show_page_map_spec.rb
data/spec/examples.txt DELETED
@@ -1,31 +0,0 @@
1
- example_id | status | run_time |
2
- --------------------------------------------------------------------------------------- | ------ | --------------- |
3
- ./spec/features/configurable_basemap_spec.rb[1:1] | passed | 0.16395 seconds |
4
- ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.13941 seconds |
5
- ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.16693 seconds |
6
- ./spec/features/index_page_map_spec.rb[1:1] | passed | 10.89 seconds |
7
- ./spec/features/show_page_map_spec.rb[1:1] | passed | 0.1382 seconds |
8
- ./spec/features/show_page_map_spec.rb[1:2] | passed | 0.17365 seconds |
9
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.00406 seconds |
10
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | passed | 0.00331 seconds |
11
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00006 seconds |
12
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:2:1] | passed | 0.00006 seconds |
13
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:3:1] | passed | 0.00008 seconds |
14
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:4:1] | passed | 0.00006 seconds |
15
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:1:1] | passed | 0.00012 seconds |
16
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:2:1] | passed | 0.00077 seconds |
17
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:3:1] | passed | 0.00193 seconds |
18
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.0006 seconds |
19
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.00008 seconds |
20
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.00028 seconds |
21
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.00014 seconds |
22
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.00008 seconds |
23
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.00007 seconds |
24
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.00163 seconds |
25
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.00427 seconds |
26
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.05584 seconds |
27
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.00206 seconds |
28
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00917 seconds |
29
- ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.0042 seconds |
30
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.00266 seconds |
31
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.00446 seconds |