blacklight_heatmaps 1.0.0 → 1.1.0

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: b9906ea4eeb7e7c695a0a6e06f1c332fe89812dbc993756a2a6ef0db24b2d54a
4
- data.tar.gz: 59c89dec0004d7c3e78d5a1ccb927cbd83899695fff3bcebf12fa2f999312bb8
3
+ metadata.gz: a03189451c6ce94aa819be2e1e37b6b13682ae7b2e23346591602e78b414fae0
4
+ data.tar.gz: 9db2a647a7decc345acdaa2f627482b2878dfd505e25a65c9c1e57809e99f37e
5
5
  SHA512:
6
- metadata.gz: 39059c88a51e4d2ab28bbab8f5c8b6217bf4c10691bdfa65e24550d3700fd79c3195827273199e792bd86bfbc15fdac7d6846ac7e69359beb93ebd711bb19143
7
- data.tar.gz: 730e04553f003a482c564c7cb842c5f4cd50d714588a63b8cb841cb1b7ce248b5bb7684cb90655c0d4533a7fe5ca2597bb4f5e4b1fdffebf8551e30c93caa6bb
6
+ metadata.gz: 05e65c68c3990bea54b4ac89092564815ef02a31bcb554e28c332d9ebfd1b49d221ddb9b6ee09bfb7352036b0e3043bde0eec91f8c3ce78c7bcaba63d90eff6b
7
+ data.tar.gz: ac76ff4fbb11bfb29881f6c9a966f2341123610f416aa21c2f5b64a618ea134bba46a5575f47427306f4ac5645667dee5c65f2df09a811d127c14bbe7f8c4f00
@@ -2,7 +2,10 @@ module BlacklightHeatmaps
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace BlacklightHeatmaps
4
4
  initializer 'blacklight-maps.helpers' do |app|
5
- ActionView::Base.send :include, Blacklight::MapsHelper
5
+ config.after_initialize do
6
+ ActionView::Base.send :include, Blacklight::MapsHelper
7
+ end
8
+
6
9
  Mime::Type.register 'application/vnd.heatmaps+json', :heatmaps
7
10
  end
8
11
  end
@@ -1,3 +1,3 @@
1
1
  module BlacklightHeatmaps
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
data/spec/examples.txt CHANGED
@@ -1,31 +1,31 @@
1
1
  example_id | status | run_time |
2
2
  --------------------------------------------------------------------------------------- | ------ | --------------- |
3
- ./spec/features/configurable_basemap_spec.rb[1:1] | passed | 0.34927 seconds |
4
- ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.30942 seconds |
5
- ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.33092 seconds |
6
- ./spec/features/index_page_map_spec.rb[1:1] | passed | 1.2 seconds |
7
- ./spec/features/show_page_map_spec.rb[1:1] | passed | 0.53406 seconds |
8
- ./spec/features/show_page_map_spec.rb[1:2] | passed | 15.44 seconds |
9
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.06046 seconds |
10
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | passed | 0.00202 seconds |
11
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00016 seconds |
12
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:2:1] | passed | 0.00019 seconds |
13
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:3:1] | passed | 0.0005 seconds |
14
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:4:1] | passed | 0.00029 seconds |
15
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:1:1] | passed | 0.00019 seconds |
16
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:2:1] | passed | 0.00023 seconds |
17
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:3:1] | passed | 0.00285 seconds |
18
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.00071 seconds |
19
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.0002 seconds |
20
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.00047 seconds |
21
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.02509 seconds |
22
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.00022 seconds |
23
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.00105 seconds |
24
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.00179 seconds |
25
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.00522 seconds |
26
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.00277 seconds |
27
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.18828 seconds |
28
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00252 seconds |
29
- ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.01202 seconds |
30
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.01292 seconds |
31
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.00211 seconds |
3
+ ./spec/features/configurable_basemap_spec.rb[1:1] | passed | 0.41776 seconds |
4
+ ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.36464 seconds |
5
+ ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.71567 seconds |
6
+ ./spec/features/index_page_map_spec.rb[1:1] | passed | 8.86 seconds |
7
+ ./spec/features/show_page_map_spec.rb[1:1] | passed | 0.62926 seconds |
8
+ ./spec/features/show_page_map_spec.rb[1:2] | passed | 0.4947 seconds |
9
+ ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.00938 seconds |
10
+ ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | passed | 0.00674 seconds |
11
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00041 seconds |
12
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:2:1] | passed | 0.00028 seconds |
13
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:3:1] | passed | 0.00055 seconds |
14
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:4:1] | passed | 0.00028 seconds |
15
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:1:1] | passed | 0.0003 seconds |
16
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:2:1] | passed | 0.00053 seconds |
17
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:3:1] | passed | 0.00438 seconds |
18
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.00081 seconds |
19
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.03251 seconds |
20
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.00094 seconds |
21
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.00061 seconds |
22
+ ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.05593 seconds |
23
+ ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.00169 seconds |
24
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.00432 seconds |
25
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.01045 seconds |
26
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.00528 seconds |
27
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.00558 seconds |
28
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00459 seconds |
29
+ ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.00637 seconds |
30
+ ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.01314 seconds |
31
+ ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.08646 seconds |
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_heatmaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-25 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '6'
17
20
  - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '7'
22
+ version: '8'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '6'
24
30
  - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '7'
32
+ version: '8'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: blacklight
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,14 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 1.2.0
53
+ version: '1.2'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 1.2.0
60
+ version: '1.2'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: leaflet-sidebar-rails
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -214,7 +220,7 @@ homepage: https://github.com/sul-dlss/blacklight_heatmaps
214
220
  licenses:
215
221
  - Apache
216
222
  metadata: {}
217
- post_install_message:
223
+ post_install_message:
218
224
  rdoc_options: []
219
225
  require_paths:
220
226
  - lib
@@ -229,25 +235,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
235
  - !ruby/object:Gem::Version
230
236
  version: '0'
231
237
  requirements: []
232
- rubygems_version: 3.1.2
233
- signing_key:
238
+ rubygems_version: 3.2.32
239
+ signing_key:
234
240
  specification_version: 4
235
241
  summary: Search and view Blacklight resources on a map.
236
242
  test_files:
237
- - spec/spec_helper.rb
238
243
  - spec/examples.txt
239
- - spec/features/show_page_map_spec.rb
240
244
  - spec/features/configurable_basemap_spec.rb
241
245
  - spec/features/index_page_map_spec.rb
246
+ - spec/features/show_page_map_spec.rb
247
+ - spec/fixtures/null_island.geojson
248
+ - spec/helpers/blacklight/maps_helper_spec.rb
242
249
  - spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb
243
- - spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb
244
- - spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb
245
250
  - spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb
251
+ - spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb
246
252
  - spec/models/concerns/blacklight_heatmaps/point_spec.rb
253
+ - spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb
254
+ - spec/spec_helper.rb
247
255
  - spec/support/fixture_data.rb
248
- - spec/test_app_templates/lib/generators/test_app_generator.rb
249
256
  - spec/test_app_templates/Gemfile.extra
250
- - spec/fixtures/null_island.geojson
257
+ - spec/test_app_templates/lib/generators/test_app_generator.rb
251
258
  - spec/views/catalog/_document_heatmaps.html.erb_spec.rb
252
259
  - spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb
253
- - spec/helpers/blacklight/maps_helper_spec.rb