blacklight_heatmaps 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,3 @@
1
- require 'leaflet-rails'
2
- require 'leaflet-sidebar-rails'
3
1
  require 'blacklight'
4
2
 
5
3
  module BlacklightHeatmaps
@@ -57,7 +57,7 @@ module BlacklightHeatmaps
57
57
  "\n config.heatmap_distErrPct = 0.15 # Default Solr value" \
58
58
  "\n # Basemaps configured include: 'positron', 'darkMatter', 'OpenStreetMap.HOT'" \
59
59
  "\n config.basemap_provider = 'positron'" \
60
- "\n config.show.partials.insert(1, :show_leaflet_map)" \
60
+ "\n config.show.partials = [*config.show.partials, :show_leaflet_map]" \
61
61
  "\n config.index.respond_to.heatmaps = true" \
62
62
  "\n config.view.heatmaps(partials: []," \
63
63
  "\n color_ramp: ['#ffffcc', '#a1dab4', '#41b6c4', '#2c7fb8', '#253494']," \
data/spec/examples.txt CHANGED
@@ -1,7 +1,31 @@
1
- example_id | status | run_time |
2
- --------------------------------------------------- | ------ | --------------- |
3
- ./spec/features/configurable_basemap_spec.rb[1:1] | failed | 6.26 seconds |
4
- ./spec/features/configurable_basemap_spec.rb[1:2:1] | failed | 0.04107 seconds |
5
- ./spec/features/configurable_basemap_spec.rb[1:3:1] | failed | 0.06812 seconds |
6
- ./spec/features/show_page_map_spec.rb[1:1] | failed | 0.04444 seconds |
7
- ./spec/features/show_page_map_spec.rb[1:2] | failed | 1.43 seconds |
1
+ example_id | status | run_time |
2
+ --------------------------------------------------------------------------------------- | ------ | --------------- |
3
+ ./spec/features/configurable_basemap_spec.rb[1:1] | passed | 0.14694 seconds |
4
+ ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.11166 seconds |
5
+ ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.31798 seconds |
6
+ ./spec/features/index_page_map_spec.rb[1:1] | passed | 1.49 seconds |
7
+ ./spec/features/show_page_map_spec.rb[1:1] | passed | 1.3 seconds |
8
+ ./spec/features/show_page_map_spec.rb[1:2] | passed | 0.0998 seconds |
9
+ ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.00343 seconds |
10
+ ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | passed | 0.00095 seconds |
11
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00008 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.00007 seconds |
14
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:4:1] | passed | 0.0001 seconds |
15
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:1:1] | passed | 0.00009 seconds |
16
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:2:1] | passed | 0.0001 seconds |
17
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:3:1] | passed | 0.0011 seconds |
18
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.00044 seconds |
19
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.00017 seconds |
20
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.00017 seconds |
21
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.00013 seconds |
22
+ ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.00007 seconds |
23
+ ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.00039 seconds |
24
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.00164 seconds |
25
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.00347 seconds |
26
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.00153 seconds |
27
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.00214 seconds |
28
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00146 seconds |
29
+ ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.00188 seconds |
30
+ ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.01013 seconds |
31
+ ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.00161 seconds |
@@ -6,7 +6,7 @@ class TestAppGenerator < Rails::Generators::Base
6
6
  def add_gems
7
7
  gem 'blacklight', ENV.fetch('BLACKLIGHT_VERSION', '~> 8.0')
8
8
 
9
- Bundler.with_clean_env do
9
+ Bundler.with_unbundled_env do
10
10
  run 'bundle install'
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_heatmaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-12-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: blacklight
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '8'
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
- version: '9'
21
+ version: '10'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,42 +28,14 @@ dependencies:
29
28
  version: '8'
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
- version: '9'
33
- - !ruby/object:Gem::Dependency
34
- name: leaflet-rails
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: 1.3.0
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: 1.3.0
47
- - !ruby/object:Gem::Dependency
48
- name: leaflet-sidebar-rails
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '0.2'
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '0.2'
31
+ version: '10'
61
32
  - !ruby/object:Gem::Dependency
62
33
  name: rails
63
34
  requirement: !ruby/object:Gem::Requirement
64
35
  requirements:
65
36
  - - ">="
66
37
  - !ruby/object:Gem::Version
67
- version: 7.1.4
38
+ version: '8.1'
68
39
  - - "<"
69
40
  - !ruby/object:Gem::Version
70
41
  version: '9'
@@ -74,7 +45,7 @@ dependencies:
74
45
  requirements:
75
46
  - - ">="
76
47
  - !ruby/object:Gem::Version
77
- version: 7.1.4
48
+ version: '8.1'
78
49
  - - "<"
79
50
  - !ruby/object:Gem::Version
80
51
  version: '9'
@@ -230,7 +201,6 @@ homepage: https://github.com/sul-dlss/blacklight_heatmaps
230
201
  licenses:
231
202
  - Apache
232
203
  metadata: {}
233
- post_install_message:
234
204
  rdoc_options: []
235
205
  require_paths:
236
206
  - lib
@@ -245,8 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
215
  - !ruby/object:Gem::Version
246
216
  version: '0'
247
217
  requirements: []
248
- rubygems_version: 3.5.11
249
- signing_key:
218
+ rubygems_version: 4.0.10
250
219
  specification_version: 4
251
220
  summary: Search and view Blacklight resources on a map.
252
221
  test_files: