blacklight_heatmaps 0.9.0 → 1.0.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: 6ecd69bfd4c5b715f5489c1a773ec4601faec3522e862dda35d704be80c1cb31
4
- data.tar.gz: b8a98ef63e1da217f62846a84a3ad4f5a387fe8c56a65f2fc0d676a9c97c39c3
3
+ metadata.gz: b9906ea4eeb7e7c695a0a6e06f1c332fe89812dbc993756a2a6ef0db24b2d54a
4
+ data.tar.gz: 59c89dec0004d7c3e78d5a1ccb927cbd83899695fff3bcebf12fa2f999312bb8
5
5
  SHA512:
6
- metadata.gz: f4ec702d38e8a4516194e46254c11952a418c09b6f5a03aa9d179c3d98bafe18fadd6bd755cf33873c2283ec35c60e4719b1aa0db100e1b19bc9430d9ef69f00
7
- data.tar.gz: 1037d6955d11607ae827e8e46a1363e47a5e164e1e5f154c600c1fdbe3762a55db01d9e269c43dd0cd93be972d39099f230648ba098039ec348501d19160a550
6
+ metadata.gz: 39059c88a51e4d2ab28bbab8f5c8b6217bf4c10691bdfa65e24550d3700fd79c3195827273199e792bd86bfbc15fdac7d6846ac7e69359beb93ebd711bb19143
7
+ data.tar.gz: 730e04553f003a482c564c7cb842c5f4cd50d714588a63b8cb841cb1b7ce248b5bb7684cb90655c0d4533a7fe5ca2597bb4f5e4b1fdffebf8551e30c93caa6bb
@@ -22,11 +22,7 @@ Blacklight.onLoad(function () {
22
22
 
23
23
  // Blank out page link content first and disable pagination
24
24
  $('#sortAndPerPage .page-links').html('');
25
- if ($('nav.pagination').length > 0) {
26
- $('nav.pagination').hide();
27
- } else {
28
- $('ul.pagination').hide();
29
- }
25
+ $('ul.pagination').hide();
30
26
 
31
27
  var map = L.map($el[0].id).setView([0, 0], 1);
32
28
  var basemap = BlacklightHeatmaps.selectBasemap(
@@ -68,6 +64,7 @@ Blacklight.onLoad(function () {
68
64
  sidebar.setContent(html);
69
65
 
70
66
  var docCount = e.response.pages.total_count;
67
+
71
68
  $('#sortAndPerPage .page-links').html(
72
69
  parseInt(docCount).toLocaleString() + ' ' +
73
70
  _this.pluralize(docCount, 'item') + ' found'
@@ -1,3 +1,3 @@
1
1
  module BlacklightHeatmaps
2
- VERSION = "0.9.0"
2
+ VERSION = "1.0.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.28553 seconds |
4
- ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.24825 seconds |
5
- ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.42455 seconds |
6
- ./spec/features/index_page_map_spec.rb[1:1] | failed | 8.15 seconds |
7
- ./spec/features/show_page_map_spec.rb[1:1] | failed | 2.25 seconds |
8
- ./spec/features/show_page_map_spec.rb[1:2] | passed | 0.37718 seconds |
9
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.08846 seconds |
10
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | passed | 0.00763 seconds |
11
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00024 seconds |
12
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:2:1] | passed | 0.00023 seconds |
13
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:3:1] | passed | 0.00026 seconds |
14
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:4:1] | passed | 0.00032 seconds |
15
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:1:1] | passed | 0.00023 seconds |
16
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:2:1] | passed | 0.00019 seconds |
17
- ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:3:1] | passed | 0.00398 seconds |
18
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.00062 seconds |
19
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.0005 seconds |
20
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.00141 seconds |
21
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.00034 seconds |
22
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.00033 seconds |
23
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.002 seconds |
24
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.00112 seconds |
25
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.0036 seconds |
26
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.00123 seconds |
27
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.00089 seconds |
28
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00126 seconds |
29
- ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.01172 seconds |
30
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.01674 seconds |
31
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.13941 seconds |
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 |
@@ -9,8 +9,8 @@ feature 'Index page map', js: true do
9
9
  expect(page).to have_css 'img[src*="/light_all/1/0/0.png"]'
10
10
 
11
11
  # Hides pagination
12
- expect(page).to have_css 'nav.pagination', visible: false
13
12
  expect(page).to have_css 'ul.pagination', visible: false
13
+ expect(page).not_to have_css '.page-links a'
14
14
 
15
15
  # Document counts
16
16
  expect(page).to have_css '.page-links', text: '18 items found'
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: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-30 00:00:00.000000000 Z
11
+ date: 2021-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.1'
26
+ version: '7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: blacklight
29
29
  requirement: !ruby/object:Gem::Requirement