Skip to content

Commit 8dca14c

Browse files
committed
Upgrade gems and fix maps due to changes in mapbox
1 parent d61c596 commit 8dca14c

File tree

4 files changed

+48
-43
lines changed

4 files changed

+48
-43
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.sass-cache
22
.jekyll-metadata
3+
.jekyll-cache
34
_site
45
.DS_Store

Gemfile.lock

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,71 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.6.0)
5-
public_suffix (>= 2.0.2, < 4.0)
4+
addressable (2.7.0)
5+
public_suffix (>= 2.0.2, < 5.0)
66
coffee-script (2.4.1)
77
coffee-script-source
88
execjs
9-
coffee-script-source (1.11.1)
9+
coffee-script-source (1.12.2)
1010
colorator (1.1.0)
11-
concurrent-ruby (1.1.4)
12-
em-websocket (0.5.1)
11+
concurrent-ruby (1.1.7)
12+
em-websocket (0.5.2)
1313
eventmachine (>= 0.12.9)
1414
http_parser.rb (~> 0.6.0)
1515
eventmachine (1.2.7)
1616
execjs (2.7.0)
17-
ffi (1.10.0)
17+
ffi (1.13.1)
1818
forwardable-extended (2.6.0)
1919
http_parser.rb (0.6.0)
20-
i18n (0.9.5)
20+
i18n (1.8.5)
2121
concurrent-ruby (~> 1.0)
22-
jekyll (3.8.5)
22+
jekyll (4.1.1)
2323
addressable (~> 2.4)
2424
colorator (~> 1.0)
2525
em-websocket (~> 0.5)
26-
i18n (~> 0.7)
27-
jekyll-sass-converter (~> 1.0)
26+
i18n (~> 1.0)
27+
jekyll-sass-converter (~> 2.0)
2828
jekyll-watch (~> 2.0)
29-
kramdown (~> 1.14)
29+
kramdown (~> 2.1)
30+
kramdown-parser-gfm (~> 1.0)
3031
liquid (~> 4.0)
31-
mercenary (~> 0.3.3)
32+
mercenary (~> 0.4.0)
3233
pathutil (~> 0.9)
33-
rouge (>= 1.7, < 4)
34+
rouge (~> 3.0)
3435
safe_yaml (~> 1.0)
35-
jekyll-coffeescript (1.1.1)
36+
terminal-table (~> 1.8)
37+
jekyll-coffeescript (2.0.0)
3638
coffee-script (~> 2.2)
37-
coffee-script-source (~> 1.11.1)
38-
jekyll-redirect-from (0.14.0)
39-
jekyll (~> 3.3)
40-
jekyll-sass-converter (1.5.2)
41-
sass (~> 3.4)
42-
jekyll-watch (2.1.2)
39+
coffee-script-source (~> 1.12)
40+
jekyll-redirect-from (0.16.0)
41+
jekyll (>= 3.3, < 5.0)
42+
jekyll-sass-converter (2.1.0)
43+
sassc (> 2.0.1, < 3.0)
44+
jekyll-watch (2.2.1)
4345
listen (~> 3.0)
44-
kramdown (1.17.0)
45-
liquid (4.0.1)
46-
listen (3.1.5)
47-
rb-fsevent (~> 0.9, >= 0.9.4)
48-
rb-inotify (~> 0.9, >= 0.9.7)
49-
ruby_dep (~> 1.2)
50-
mercenary (0.3.6)
46+
kramdown (2.3.0)
47+
rexml
48+
kramdown-parser-gfm (1.1.0)
49+
kramdown (~> 2.0)
50+
liquid (4.0.3)
51+
listen (3.3.1)
52+
rb-fsevent (~> 0.10, >= 0.10.3)
53+
rb-inotify (~> 0.9, >= 0.9.10)
54+
mercenary (0.4.0)
5155
pathutil (0.16.2)
5256
forwardable-extended (~> 2.6)
53-
public_suffix (3.0.3)
54-
rb-fsevent (0.10.3)
55-
rb-inotify (0.10.0)
57+
public_suffix (4.0.6)
58+
rb-fsevent (0.10.4)
59+
rb-inotify (0.10.1)
5660
ffi (~> 1.0)
57-
rouge (3.3.0)
58-
ruby_dep (1.5.0)
61+
rexml (3.2.4)
62+
rouge (3.25.0)
5963
safe_yaml (1.0.5)
60-
sass (3.7.3)
61-
sass-listen (~> 4.0.0)
62-
sass-listen (4.0.0)
63-
rb-fsevent (~> 0.9, >= 0.9.4)
64-
rb-inotify (~> 0.9, >= 0.9.7)
64+
sassc (2.4.0)
65+
ffi (~> 1.9)
66+
terminal-table (1.8.0)
67+
unicode-display_width (~> 1.1, >= 1.1.1)
68+
unicode-display_width (1.7.0)
6569

6670
PLATFORMS
6771
ruby
@@ -72,4 +76,4 @@ DEPENDENCIES
7276
jekyll-redirect-from
7377

7478
BUNDLED WITH
75-
1.16.6
79+
2.1.4

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ collections:
176176
output: yes
177177
path: /tools/:name
178178

179-
plugins:
179+
plugins_dir:
180180
- jekyll-coffeescript
181181
- jekyll-redirect-from

assets/js/map.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
function initMainMap(map_container_id) {
33
var map = L.map(map_container_id).setView([45.4913, 9.2093], 12);
44
map.scrollWheelZoom.disable();
5-
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoicHJldmkiLCJhIjoiY2lobmZ2OXU3MDBoanZrbTlmZ2Zpb3JoayJ9.7vBRLC3iMq_xL-KIHeNIZw', {
5+
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoicHJldmkiLCJhIjoiY2lobmZ2OXU3MDBoanZrbTlmZ2Zpb3JoayJ9.7vBRLC3iMq_xL-KIHeNIZw', {
66
attribution: 'Map data &copy; <a href="//openstreetmap.org">OpenStreetMap</a> contributors, <a href="//creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="//mapbox.com">Mapbox</a>',
77
maxZoom: 18,
8-
id: 'mapbox.streets',
8+
id: 'mapbox/streets-v11',
99
accessToken: 'pk.eyJ1IjoicHJldmkiLCJhIjoiY2lobmZ2OXU3MDBoanZrbTlmZ2Zpb3JoayJ9.7vBRLC3iMq_xL-KIHeNIZw'
1010
}).addTo(map);
1111

@@ -27,10 +27,10 @@ function initEventMap(map_container_id, event_location_id) {
2727
}
2828
var map = L.map(map_container_id).setView([dojo.lat, dojo.lon], 13);
2929
map.scrollWheelZoom.disable();
30-
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoicHJldmkiLCJhIjoiY2lobmZ2OXU3MDBoanZrbTlmZ2Zpb3JoayJ9.7vBRLC3iMq_xL-KIHeNIZw', {
30+
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoicHJldmkiLCJhIjoiY2lobmZ2OXU3MDBoanZrbTlmZ2Zpb3JoayJ9.7vBRLC3iMq_xL-KIHeNIZw', {
3131
attribution: 'Map data &copy; <a href="//openstreetmap.org">OpenStreetMap</a> contributors, <a href="//creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="//mapbox.com">Mapbox</a>',
3232
maxZoom: 18,
33-
id: 'mapbox.streets',
33+
id: 'mapbox/streets-v11',
3434
accessToken: 'pk.eyJ1IjoicHJldmkiLCJhIjoiY2lobmZ2OXU3MDBoanZrbTlmZ2Zpb3JoayJ9.7vBRLC3iMq_xL-KIHeNIZw'
3535
}).addTo(map);
3636

0 commit comments

Comments
 (0)