blacklight_heatmaps 0.7.0 → 0.8.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: 26bffb89cbdef284a0c7d9371bc7d4258a831727f612189f357b8885581c2525
4
- data.tar.gz: 66c943c2b5d8d29040fab2f39eddc56f502d94559737a4322ba303dfcfee5015
3
+ metadata.gz: 851dcc5ba717a22f94a0f4f993f51a04f13ee2de413d5240f2217e12d9fa5aea
4
+ data.tar.gz: 7fa88efc31fd162d3803750b36af341bbca8e90d5508ff4059eee182d9f9daec
5
5
  SHA512:
6
- metadata.gz: 682416c146e30849dd5762bb0f27183eb0c768e32744bd3f88ff70bc35d3b9a390e6a49cc71a594f7f42aad79a2f00f78677b8576212c65506e8ba4a290ad580
7
- data.tar.gz: '06256879e30ffb87211d670982d7b105f06a3033bd25f54837950e2b6d8939cd1c59ba20a43fb12e26e0e3340f468247bf95964da6d355581dbf86ca89fe5ca9'
6
+ metadata.gz: 560fba772316a81e1ec77a8465514136088e9fc5c4bd24308e514856fa65e36431ddbc146256e86c99a44c93c054a9f6bf59429a45505f65d56a1ca572587a5a
7
+ data.tar.gz: da93fcd1fbcd368f52e3e569c94d725e1868122fbca9872ff6b00a4a78f2dc8827ecaeea61f6c5be09fe59861126ed84e6300330bad9542256b0611fd3b66038
@@ -22,7 +22,11 @@ Blacklight.onLoad(function () {
22
22
 
23
23
  // Blank out page link content first and disable pagination
24
24
  $('#sortAndPerPage .page-links').html('');
25
- $('ul.pagination li').addClass('disabled');
25
+ if ($('nav.pagination').length > 0) {
26
+ $('nav.pagination').hide();
27
+ } else {
28
+ $('ul.pagination').hide();
29
+ }
26
30
 
27
31
  var map = L.map($el[0].id).setView([0, 0], 1);
28
32
  var basemap = BlacklightHeatmaps.selectBasemap(
@@ -0,0 +1,7 @@
1
+ es:
2
+ blacklight:
3
+ heatmaps:
4
+ title: Mapa
5
+ search:
6
+ view:
7
+ heatmaps: Mapa
@@ -0,0 +1,7 @@
1
+ pt-BR:
2
+ blacklight:
3
+ heatmaps:
4
+ title: Mapa
5
+ search:
6
+ view:
7
+ heatmaps: Mapa
@@ -1,3 +1,3 @@
1
1
  module BlacklightHeatmaps
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -1,31 +1,31 @@
1
1
  example_id | status | run_time |
2
2
  --------------------------------------------------------------------------------------- | ------ | --------------- |
3
- ./spec/features/configurable_basemap_spec.rb[1:1] | passed | 3.24 seconds |
4
- ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.2779 seconds |
5
- ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.23355 seconds |
6
- ./spec/features/index_page_map_spec.rb[1:1] | failed | 2.27 seconds |
7
- ./spec/features/show_page_map_spec.rb[1:1] | failed | 2.26 seconds |
8
- ./spec/features/show_page_map_spec.rb[1:2] | passed | 0.26337 seconds |
9
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.00611 seconds |
10
- ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | failed | 0.00498 seconds |
11
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00025 seconds |
12
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:2:1] | passed | 0.00026 seconds |
13
- ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:3:1] | passed | 0.00025 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.00028 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.00372 seconds |
18
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.00101 seconds |
19
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.00039 seconds |
20
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.0033 seconds |
21
- ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.03817 seconds |
22
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.00021 seconds |
23
- ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.00206 seconds |
24
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.00106 seconds |
25
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.00424 seconds |
26
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.00097 seconds |
27
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.00613 seconds |
28
- ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00082 seconds |
29
- ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.01318 seconds |
30
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.00453 seconds |
31
- ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.08105 seconds |
3
+ ./spec/features/configurable_basemap_spec.rb[1:1] | passed | 0.20031 seconds |
4
+ ./spec/features/configurable_basemap_spec.rb[1:2:1] | passed | 0.23369 seconds |
5
+ ./spec/features/configurable_basemap_spec.rb[1:3:1] | passed | 0.21389 seconds |
6
+ ./spec/features/index_page_map_spec.rb[1:1] | passed | 5.31 seconds |
7
+ ./spec/features/show_page_map_spec.rb[1:1] | passed | 0.4718 seconds |
8
+ ./spec/features/show_page_map_spec.rb[1:2] | passed | 0.17066 seconds |
9
+ ./spec/helpers/blacklight/maps_helper_spec.rb[1:1:1] | passed | 0.00641 seconds |
10
+ ./spec/helpers/blacklight/maps_helper_spec.rb[1:2:1] | passed | 0.00372 seconds |
11
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:1:1] | passed | 0.00018 seconds |
12
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:2:1] | passed | 0.00018 seconds |
13
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:3:1] | passed | 0.00063 seconds |
14
+ ./spec/models/concerns/blacklight_heatmaps/bounding_box_spec.rb[1:4:1] | passed | 0.00073 seconds |
15
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:1:1] | passed | 0.00022 seconds |
16
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:2:1] | passed | 0.00018 seconds |
17
+ ./spec/models/concerns/blacklight_heatmaps/geometry_parser_spec.rb[1:1:3:1] | passed | 0.00265 seconds |
18
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:1:1] | passed | 0.00052 seconds |
19
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:2:1] | passed | 0.00023 seconds |
20
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:3:1] | passed | 0.00102 seconds |
21
+ ./spec/models/concerns/blacklight_heatmaps/geometry_solr_document_spec.rb[1:4:1] | passed | 0.00039 seconds |
22
+ ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:1:1] | passed | 0.00024 seconds |
23
+ ./spec/models/concerns/blacklight_heatmaps/point_spec.rb[1:2:1] | passed | 0.00239 seconds |
24
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:1:1] | passed | 0.0009 seconds |
25
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:1:2:1] | passed | 0.00275 seconds |
26
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:2:1] | passed | 0.00842 seconds |
27
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:3:1] | passed | 0.00092 seconds |
28
+ ./spec/models/concerns/blacklight_heatmaps/solr_facet_heatmap_behavior_spec.rb[1:4:1] | passed | 0.00087 seconds |
29
+ ./spec/views/catalog/_document_heatmaps.html.erb_spec.rb[1:1] | passed | 0.01284 seconds |
30
+ ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:1:1] | passed | 0.05054 seconds |
31
+ ./spec/views/catalog/_show_leaflet_map_default.html.erb_spec.rb[1:2:1] | passed | 0.00129 seconds |
@@ -8,8 +8,9 @@ feature 'Index page map', js: true do
8
8
  # Zoomed to world
9
9
  expect(page).to have_css 'img[src*="/light_all/1/0/0.png"]'
10
10
 
11
- # Disabled pagination
12
- expect(page).to have_css 'ul.pagination li.disabled', count: 6
11
+ # Hides pagination
12
+ expect(page).to have_css 'nav.pagination', visible: false
13
+ expect(page).to have_css 'ul.pagination', visible: false
13
14
 
14
15
  # Document counts
15
16
  expect(page).to have_css '.page-links', text: '18 items found'
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_heatmaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-01-14 00:00:00.000000000 Z
11
+ date: 2020-02-10 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: 4.2.6
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '6'
19
+ version: '5.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 4.2.6
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '6'
26
+ version: '5.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: blacklight
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -186,6 +180,8 @@ files:
186
180
  - app/views/catalog/_show_leaflet_map_default.html.erb
187
181
  - app/views/catalog/index.heatmaps.jbuilder
188
182
  - app/views/layouts/blacklight_heatmaps/application.html.erb
183
+ - config/locales/blacklight-heatmaps.es.yml
184
+ - config/locales/blacklight-heatmaps.pt-BR.yml
189
185
  - config/routes.rb
190
186
  - lib/blacklight_heatmaps.rb
191
187
  - lib/blacklight_heatmaps/engine.rb
@@ -232,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
228
  - !ruby/object:Gem::Version
233
229
  version: '0'
234
230
  requirements: []
235
- rubygems_version: 3.0.3
231
+ rubygems_version: 3.1.1
236
232
  signing_key:
237
233
  specification_version: 4
238
234
  summary: Search and view Blacklight resources on a map.