jekyll 3.9.1 → 3.9.2

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: 8438a4ebfcd825d8500646d91205a6f10cf7539e1d659e425b29de27576047e9
4
- data.tar.gz: 58762696b5382761dea9315a60e619c3130bbf560be2f3237576b855d89f63c3
3
+ metadata.gz: d1f18811c89301d6ac1f83c43a4d2c1780bbe1e69e15c660ddef08048826bed5
4
+ data.tar.gz: ad03fafa2fc29fbdcd80f517ccef5f07eb109e79c83334c1aa7142a5b2561f64
5
5
  SHA512:
6
- metadata.gz: 7fda7be3b450dcff1a509faf177c06a0e2c03a06530aace708e4717ac650a815917aa345bc5e22ee4d9544ac05798e86db3685aa6c6cfbdad60771dbae2885b1
7
- data.tar.gz: 1e30e0db8868ec2d0bf216681f1737121513aee96b5bc6a9e91c600358782ed2125a03e6cc3206a4cac3fd369be72a9db951863ff9d0f1a0d419bf5645a974e0
6
+ metadata.gz: a8b270aaeff77e73442f5f6094c063254716873107b5aacaef68b992a9c15bedca1c5b4921965de784cdb823abdbe37f9af504c82d566bded0a831c80b674161
7
+ data.tar.gz: 7cfb965920cf1ddf96d515c94ce25b0595a9d23ff434607f70aba4ea668dfc1e7e2e46f19d0ebe03c1f733360eb0d7c9c9616210396623f884111be656942d61
@@ -101,6 +101,9 @@ gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform?
101
101
  # kramdown v1, comment out this line.
102
102
  gem "kramdown-parser-gfm"
103
103
 
104
+ # Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
105
+ # do not have a Java counterpart.
106
+ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
104
107
  RUBY
105
108
  end
106
109
 
@@ -0,0 +1,71 @@
1
+ {
2
+ "application/javascript": "UTF-8",
3
+ "application/json": "UTF-8",
4
+ "application/manifest+json": "UTF-8",
5
+ "application/vnd.syncml+xml": "UTF-8",
6
+ "application/vnd.syncml.dm+wbxml": "UTF-8",
7
+ "application/vnd.syncml.dm+xml": "UTF-8",
8
+ "application/vnd.syncml.dmddf+xml": "UTF-8",
9
+ "application/vnd.wap.wbxml": "UTF-8",
10
+ "text/cache-manifest": "UTF-8",
11
+ "text/calendar": "UTF-8",
12
+ "text/coffeescript": "UTF-8",
13
+ "text/css": "UTF-8",
14
+ "text/csv": "UTF-8",
15
+ "text/html": "UTF-8",
16
+ "text/jade": "UTF-8",
17
+ "text/jsx": "UTF-8",
18
+ "text/less": "UTF-8",
19
+ "text/markdown": "UTF-8",
20
+ "text/mathml": "UTF-8",
21
+ "text/mdx": "UTF-8",
22
+ "text/n3": "UTF-8",
23
+ "text/plain": "UTF-8",
24
+ "text/prs.lines.tag": "UTF-8",
25
+ "text/richtext": "UTF-8",
26
+ "text/sgml": "UTF-8",
27
+ "text/shex": "UTF-8",
28
+ "text/slim": "UTF-8",
29
+ "text/spdx": "UTF-8",
30
+ "text/stylus": "UTF-8",
31
+ "text/tab-separated-values": "UTF-8",
32
+ "text/troff": "UTF-8",
33
+ "text/turtle": "UTF-8",
34
+ "text/uri-list": "UTF-8",
35
+ "text/vcard": "UTF-8",
36
+ "text/vnd.curl": "UTF-8",
37
+ "text/vnd.curl.dcurl": "UTF-8",
38
+ "text/vnd.curl.mcurl": "UTF-8",
39
+ "text/vnd.curl.scurl": "UTF-8",
40
+ "text/vnd.familysearch.gedcom": "UTF-8",
41
+ "text/vnd.fly": "UTF-8",
42
+ "text/vnd.fmi.flexstor": "UTF-8",
43
+ "text/vnd.graphviz": "UTF-8",
44
+ "text/vnd.in3d.3dml": "UTF-8",
45
+ "text/vnd.in3d.spot": "UTF-8",
46
+ "text/vnd.sun.j2me.app-descriptor": "UTF-8",
47
+ "text/vnd.wap.wml": "UTF-8",
48
+ "text/vnd.wap.wmlscript": "UTF-8",
49
+ "text/vtt": "UTF-8",
50
+ "text/x-asm": "UTF-8",
51
+ "text/x-c": "UTF-8",
52
+ "text/x-component": "UTF-8",
53
+ "text/x-fortran": "UTF-8",
54
+ "text/x-handlebars-template": "UTF-8",
55
+ "text/x-java-source": "UTF-8",
56
+ "text/x-lua": "UTF-8",
57
+ "text/x-markdown": "UTF-8",
58
+ "text/x-nfo": "UTF-8",
59
+ "text/x-opml": "UTF-8",
60
+ "text/x-pascal": "UTF-8",
61
+ "text/x-processing": "UTF-8",
62
+ "text/x-sass": "UTF-8",
63
+ "text/x-scss": "UTF-8",
64
+ "text/x-setext": "UTF-8",
65
+ "text/x-sfv": "UTF-8",
66
+ "text/x-suse-ymp": "UTF-8",
67
+ "text/x-uuencode": "UTF-8",
68
+ "text/x-vcalendar": "UTF-8",
69
+ "text/x-vcard": "UTF-8",
70
+ "text/yaml": "UTF-8"
71
+ }
@@ -137,6 +137,7 @@ module Jekyll
137
137
  def initialize(server, root, callbacks)
138
138
  # So we can access them easily.
139
139
  @jekyll_opts = server.config[:JekyllOptions]
140
+ @mime_types_charset = server.config[:MimeTypesCharset]
140
141
  set_defaults
141
142
  super
142
143
  end
@@ -172,27 +173,28 @@ module Jekyll
172
173
  end
173
174
  end
174
175
 
175
- validate_and_ensure_charset(req, res)
176
+ conditionally_inject_charset(res)
176
177
  res.header.merge!(@headers)
177
178
  rtn
178
179
  end
179
180
  # rubocop:enable Naming/MethodName
180
181
 
181
- #
182
-
183
182
  private
184
- def validate_and_ensure_charset(_req, res)
185
- key = res.header.keys.grep(%r!content-type!i).first
186
- typ = res.header[key]
187
183
 
188
- unless typ =~ %r!;\s*charset=!
189
- res.header[key] = "#{typ}; charset=#{@jekyll_opts["encoding"]}"
190
- end
184
+ #
185
+ # Inject charset based on Jekyll config only if our mime-types database contains
186
+ # the charset metadata.
187
+ #
188
+ # Refer `script/vendor-mimes` in the repository for further details.
189
+ def conditionally_inject_charset(res)
190
+ typ = res.header["content-type"]
191
+ return unless @mime_types_charset.key?(typ)
192
+ return if %r!;\s*charset=!.match?(typ)
193
+
194
+ res.header["content-type"] = "#{typ}; charset=#{@jekyll_opts["encoding"]}"
191
195
  end
192
196
 
193
197
  #
194
-
195
- private
196
198
  def set_defaults
197
199
  hash_ = @jekyll_opts.fetch("webrick", {}).fetch("headers", {})
198
200
  DEFAULTS.each_with_object(@headers = hash_) do |(key, val), hash|
@@ -202,6 +202,7 @@ module Jekyll
202
202
  :JekyllOptions => opts,
203
203
  :DoNotReverseLookup => true,
204
204
  :MimeTypes => mime_types,
205
+ :MimeTypesCharset => mime_types_charset,
205
206
  :DocumentRoot => opts["destination"],
206
207
  :StartCallback => start_callback(opts["detach"]),
207
208
  :StopCallback => stop_callback(opts["detach"]),
@@ -379,6 +380,11 @@ module Jekyll
379
380
  end
380
381
 
381
382
  private
383
+
384
+ def mime_types_charset
385
+ SafeYAML.load_file(File.expand_path("serve/mime_types_charset.json", __dir__))
386
+ end
387
+
382
388
  def read_file(source_dir, file_path)
383
389
  File.read(Jekyll.sanitized_path(source_dir, file_path))
384
390
  end
@@ -5,36 +5,47 @@ application/andrew-inset ez
5
5
  application/applixware aw
6
6
  application/atom+xml atom
7
7
  application/atomcat+xml atomcat
8
+ application/atomdeleted+xml atomdeleted
8
9
  application/atomsvc+xml atomsvc
10
+ application/atsc-dwd+xml dwd
11
+ application/atsc-held+xml held
12
+ application/atsc-rsat+xml rsat
9
13
  application/bdoc bdoc
14
+ application/calendar+xml xcs
10
15
  application/ccxml+xml ccxml
16
+ application/cdfx+xml cdfx
11
17
  application/cdmi-capability cdmia
12
18
  application/cdmi-container cdmic
13
19
  application/cdmi-domain cdmid
14
20
  application/cdmi-object cdmio
15
21
  application/cdmi-queue cdmiq
22
+ application/cpl+xml cpl
16
23
  application/cu-seeme cu
17
24
  application/dash+xml mpd
25
+ application/dash-patch+xml mpp
18
26
  application/davmount+xml davmount
19
27
  application/docbook+xml dbk
20
28
  application/dssc+der dssc
21
29
  application/dssc+xml xdssc
22
- application/ecmascript ecma
30
+ application/ecmascript ecma es
23
31
  application/emma+xml emma
32
+ application/emotionml+xml emotionml
24
33
  application/epub+zip epub
25
34
  application/exi exi
35
+ application/express exp
36
+ application/fdt+xml fdt
26
37
  application/font-tdpfr pfr
27
- application/font-woff woff
28
- application/font-woff2 woff2
29
38
  application/geo+json geojson
30
39
  application/gml+xml gml
31
40
  application/gpx+xml gpx
32
41
  application/gxf gxf
33
42
  application/gzip gz
43
+ application/hjson hjson
34
44
  application/hyperstudio stk
35
45
  application/inkml+xml ink inkml
36
46
  application/ipfix ipfix
37
- application/java-archive jar war ear
47
+ application/its+xml its
48
+ application/java-archive ear jar war
38
49
  application/java-serialized-object ser
39
50
  application/java-vm class
40
51
  application/javascript js mjs
@@ -42,6 +53,7 @@ application/json json m
42
53
  application/json5 json5
43
54
  application/jsonml+json jsonml
44
55
  application/ld+json jsonld
56
+ application/lgr+xml lgr
45
57
  application/lost+xml lostxml
46
58
  application/mac-binhex40 hqx
47
59
  application/mac-compactpro cpt
@@ -49,32 +61,40 @@ application/mads+xml mads
49
61
  application/manifest+json webmanifest
50
62
  application/marc mrc
51
63
  application/marcxml+xml mrcx
52
- application/mathematica ma nb mb
64
+ application/mathematica ma mb nb
53
65
  application/mathml+xml mathml
54
66
  application/mbox mbox
67
+ application/media-policy-dataset+xml mpf
55
68
  application/mediaservercontrol+xml mscml
56
69
  application/metalink+xml metalink
57
70
  application/metalink4+xml meta4
58
71
  application/mets+xml mets
72
+ application/mmt-aei+xml maei
73
+ application/mmt-usd+xml musd
59
74
  application/mods+xml mods
60
75
  application/mp21 m21 mp21
61
- application/mp4 mp4s m4p
76
+ application/mp4 m4p mp4s
62
77
  application/msword doc dot
63
78
  application/mxf mxf
64
- application/octet-stream bin dms lrf mar so dist distz pkg bpk dump elc deploy exe dll deb dmg iso img msi msp msm buffer
79
+ application/n-quads nq
80
+ application/n-triples nt
81
+ application/node cjs
82
+ application/octet-stream bin bpk buffer deb deploy dist distz dll dmg dms dump elc exe img iso lrf mar msi msm msp pkg so
65
83
  application/oda oda
66
84
  application/oebps-package+xml opf
67
85
  application/ogg ogx
68
86
  application/omdoc+xml omdoc
69
- application/onenote onetoc onetoc2 onetmp onepkg
87
+ application/onenote onepkg onetmp onetoc onetoc2
70
88
  application/oxps oxps
89
+ application/p2p-overlay+xml relo
71
90
  application/patch-ops-error+xml xer
72
91
  application/pdf pdf
73
92
  application/pgp-encrypted pgp
74
- application/pgp-signature asc sig
93
+ application/pgp-keys asc
94
+ application/pgp-signature sig
75
95
  application/pics-rules prf
76
96
  application/pkcs10 p10
77
- application/pkcs7-mime p7m p7c
97
+ application/pkcs7-mime p7c p7m
78
98
  application/pkcs7-signature p7s
79
99
  application/pkcs8 p8
80
100
  application/pkix-attr-cert ac
@@ -84,14 +104,19 @@ application/pkix-pkipath pkipat
84
104
  application/pkixcmp pki
85
105
  application/pls+xml pls
86
106
  application/postscript ai eps ps
107
+ application/provenance+xml provx
87
108
  application/prs.cww cww
88
109
  application/pskc+xml pskcxml
89
- application/rdf+xml rdf
110
+ application/raml+yaml raml
111
+ application/rdf+xml owl rdf
90
112
  application/reginfo+xml rif
91
113
  application/relax-ng-compact-syntax rnc
92
114
  application/resource-lists+xml rl
93
115
  application/resource-lists-diff+xml rld
94
116
  application/rls-services+xml rs
117
+ application/route-apd+xml rapd
118
+ application/route-s-tsid+xml sls
119
+ application/route-usd+xml rusd
95
120
  application/rpki-ghostbusters gbr
96
121
  application/rpki-manifest mft
97
122
  application/rpki-roa roa
@@ -104,9 +129,12 @@ application/scvp-cv-response scs
104
129
  application/scvp-vp-request spq
105
130
  application/scvp-vp-response spp
106
131
  application/sdp sdp
132
+ application/senml+xml senmlx
133
+ application/sensml+xml sensmlx
107
134
  application/set-payment-initiation setpay
108
135
  application/set-registration-initiation setreg
109
136
  application/shf+xml shf
137
+ application/sieve sieve siv
110
138
  application/smil+xml smi smil
111
139
  application/sparql-query rq
112
140
  application/sparql-results+xml srx
@@ -115,9 +143,17 @@ application/srgs+xml grxml
115
143
  application/sru+xml sru
116
144
  application/ssdl+xml ssdl
117
145
  application/ssml+xml ssml
146
+ application/swid+xml swidtag
118
147
  application/tei+xml tei teicorpus
119
148
  application/thraud+xml tfi
120
149
  application/timestamped-data tsd
150
+ application/toml toml
151
+ application/trig trig
152
+ application/ttml+xml ttml
153
+ application/ubjson ubj
154
+ application/urc-ressheet+xml rsheet
155
+ application/urc-targetdesc+xml td
156
+ application/vnd.1000minds.decision-model+xml 1km
121
157
  application/vnd.3gpp.pic-bw-large plb
122
158
  application/vnd.3gpp.pic-bw-small psb
123
159
  application/vnd.3gpp.pic-bw-var pvb
@@ -126,12 +162,13 @@ application/vnd.3m.post-it-notes pwn
126
162
  application/vnd.accpac.simply.aso aso
127
163
  application/vnd.accpac.simply.imp imp
128
164
  application/vnd.acucobol acu
129
- application/vnd.acucorp atc acutc
165
+ application/vnd.acucorp acutc atc
130
166
  application/vnd.adobe.air-application-installer-package+zip air
131
167
  application/vnd.adobe.formscentral.fcdt fcdt
132
168
  application/vnd.adobe.fxp fxp fxpl
133
169
  application/vnd.adobe.xdp+xml xdp
134
170
  application/vnd.adobe.xfdf xfdf
171
+ application/vnd.age age
135
172
  application/vnd.ahead.space ahead
136
173
  application/vnd.airzip.filesecure.azf azf
137
174
  application/vnd.airzip.filesecure.azs azs
@@ -143,20 +180,25 @@ application/vnd.anser-web-certificate-issue-initiation cii
143
180
  application/vnd.anser-web-funds-transfer-initiation fti
144
181
  application/vnd.antix.game-component atx
145
182
  application/vnd.apple.installer+xml mpkg
183
+ application/vnd.apple.keynote key
146
184
  application/vnd.apple.mpegurl m3u8
185
+ application/vnd.apple.numbers numbers
186
+ application/vnd.apple.pages pages
147
187
  application/vnd.apple.pkpass pkpass
148
188
  application/vnd.aristanetworks.swi swi
149
189
  application/vnd.astraea-software.iota iota
150
190
  application/vnd.audiograph aep
191
+ application/vnd.balsamiq.bmml+xml bmml
151
192
  application/vnd.blueice.multipass mpm
152
193
  application/vnd.bmi bmi
153
194
  application/vnd.businessobjects rep
154
195
  application/vnd.chemdraw+xml cdxml
155
196
  application/vnd.chipnuts.karaoke-mmd mmd
156
197
  application/vnd.cinderella cdy
198
+ application/vnd.citationstyles.style+xml csl
157
199
  application/vnd.claymore cla
158
200
  application/vnd.cloanto.rp9 rp9
159
- application/vnd.clonk.c4group c4g c4d c4f c4p c4u
201
+ application/vnd.clonk.c4group c4d c4f c4g c4p c4u
160
202
  application/vnd.cluetrust.cartomobile-config c11amc
161
203
  application/vnd.cluetrust.cartomobile-config-pkg c11amz
162
204
  application/vnd.commonspace csp
@@ -174,10 +216,11 @@ application/vnd.curl.car car
174
216
  application/vnd.curl.pcurl pcurl
175
217
  application/vnd.dart dart
176
218
  application/vnd.data-vision.rdz rdz
177
- application/vnd.dece.data uvf uvvf uvd uvvd
219
+ application/vnd.dbf dbf
220
+ application/vnd.dece.data uvd uvf uvvd uvvf
178
221
  application/vnd.dece.ttml+xml uvt uvvt
179
- application/vnd.dece.unspecified uvx uvvx
180
- application/vnd.dece.zip uvz uvvz
222
+ application/vnd.dece.unspecified uvvx uvx
223
+ application/vnd.dece.zip uvvz uvz
181
224
  application/vnd.denovo.fcselayout-link fe_launch
182
225
  application/vnd.dna dna
183
226
  application/vnd.dolby.mlp mlp
@@ -199,10 +242,10 @@ application/vnd.ezpix-album ez2
199
242
  application/vnd.ezpix-package ez3
200
243
  application/vnd.fdf fdf
201
244
  application/vnd.fdsn.mseed mseed
202
- application/vnd.fdsn.seed seed dataless
245
+ application/vnd.fdsn.seed dataless seed
203
246
  application/vnd.flographit gph
204
247
  application/vnd.fluxtime.clip ftc
205
- application/vnd.framemaker fm frame maker book
248
+ application/vnd.framemaker book fm frame maker
206
249
  application/vnd.frogans.fnc fnc
207
250
  application/vnd.frogans.ltf ltf
208
251
  application/vnd.fsc.weblaunch fsc
@@ -248,7 +291,7 @@ application/vnd.hp-pcl pcl
248
291
  application/vnd.hp-pclxl pclxl
249
292
  application/vnd.hydrostatix.sof-data sfd-hdstx
250
293
  application/vnd.ibm.minipay mpy
251
- application/vnd.ibm.modcap afp listafp list3820
294
+ application/vnd.ibm.modcap afp list3820 listafp
252
295
  application/vnd.ibm.rights-management irm
253
296
  application/vnd.ibm.secure-container sc
254
297
  application/vnd.iccprofile icc icm
@@ -268,7 +311,7 @@ application/vnd.jam jam
268
311
  application/vnd.jcp.javame.midlet-rms rms
269
312
  application/vnd.jisp jisp
270
313
  application/vnd.joost.joda-archive joda
271
- application/vnd.kahootz ktz ktr
314
+ application/vnd.kahootz ktr ktz
272
315
  application/vnd.kde.karbon karbon
273
316
  application/vnd.kde.kchart chrt
274
317
  application/vnd.kde.kformula kfo
@@ -280,7 +323,7 @@ application/vnd.kde.kword kwd kw
280
323
  application/vnd.kenameaapp htke
281
324
  application/vnd.kidspiration kia
282
325
  application/vnd.kinar kne knp
283
- application/vnd.koan skp skd skt skm
326
+ application/vnd.koan skd skm skp skt
284
327
  application/vnd.kodak-descriptor sse
285
328
  application/vnd.las.las+xml lasxml
286
329
  application/vnd.llamagraphics.life-balance.desktop lbd
@@ -293,6 +336,7 @@ application/vnd.lotus-organizer org
293
336
  application/vnd.lotus-screencam scm
294
337
  application/vnd.lotus-wordpro lwp
295
338
  application/vnd.macports.portpkg portpkg
339
+ application/vnd.mapbox-vector-tile mvt
296
340
  application/vnd.mcd mcd
297
341
  application/vnd.medcalcdata mc1
298
342
  application/vnd.mediastation.cdkey cdkey
@@ -313,7 +357,7 @@ application/vnd.mophun.certificate mpc
313
357
  application/vnd.mozilla.xul+xml xul
314
358
  application/vnd.ms-artgalry cil
315
359
  application/vnd.ms-cab-compressed cab
316
- application/vnd.ms-excel xls xlm xla xlc xlt xlw
360
+ application/vnd.ms-excel xla xlc xlm xls xlt xlw
317
361
  application/vnd.ms-excel.addin.macroenabled.12 xlam
318
362
  application/vnd.ms-excel.sheet.binary.macroenabled.12 xlsb
319
363
  application/vnd.ms-excel.sheet.macroenabled.12 xlsm
@@ -326,16 +370,16 @@ application/vnd.ms-officetheme thmx
326
370
  application/vnd.ms-outlook msg
327
371
  application/vnd.ms-pki.seccat cat
328
372
  application/vnd.ms-pki.stl stl
329
- application/vnd.ms-powerpoint ppt pps pot
373
+ application/vnd.ms-powerpoint pot pps ppt
330
374
  application/vnd.ms-powerpoint.addin.macroenabled.12 ppam
331
375
  application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm
332
376
  application/vnd.ms-powerpoint.slide.macroenabled.12 sldm
333
377
  application/vnd.ms-powerpoint.slideshow.macroenabled.12 ppsm
334
378
  application/vnd.ms-powerpoint.template.macroenabled.12 potm
335
- application/vnd.ms-project mpp mpt
379
+ application/vnd.ms-project mpt
336
380
  application/vnd.ms-word.document.macroenabled.12 docm
337
381
  application/vnd.ms-word.template.macroenabled.12 dotm
338
- application/vnd.ms-works wps wks wcm wdb
382
+ application/vnd.ms-works wcm wdb wks wps
339
383
  application/vnd.ms-wpl wpl
340
384
  application/vnd.ms-xpsdocument xps
341
385
  application/vnd.mseq mseq
@@ -343,7 +387,7 @@ application/vnd.musician mus
343
387
  application/vnd.muvee.style msty
344
388
  application/vnd.mynfc taglet
345
389
  application/vnd.neurolanguage.nlu nlu
346
- application/vnd.nitf ntf nitf
390
+ application/vnd.nitf nitf ntf
347
391
  application/vnd.noblenet-directory nnd
348
392
  application/vnd.noblenet-sealer nns
349
393
  application/vnd.noblenet-web nnw
@@ -373,7 +417,9 @@ application/vnd.oasis.opendocument.text-template ott
373
417
  application/vnd.oasis.opendocument.text-web oth
374
418
  application/vnd.olpc-sugar xo
375
419
  application/vnd.oma.dd2+xml dd2
420
+ application/vnd.openblox.game+xml obgx
376
421
  application/vnd.openofficeorg.extension oxt
422
+ application/vnd.openstreetmap.data+xml osm
377
423
  application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
378
424
  application/vnd.openxmlformats-officedocument.presentationml.slide sldx
379
425
  application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
@@ -385,7 +431,7 @@ application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
385
431
  application/vnd.osgeo.mapguide.package mgp
386
432
  application/vnd.osgi.dp dp
387
433
  application/vnd.osgi.subsystem esa
388
- application/vnd.palm pdb pqa oprc
434
+ application/vnd.palm oprc pdb pqa
389
435
  application/vnd.pawaafile paw
390
436
  application/vnd.pg.format str
391
437
  application/vnd.pg.osasli ei6
@@ -397,7 +443,8 @@ application/vnd.previewsystems.box box
397
443
  application/vnd.proteus.magazine mgz
398
444
  application/vnd.publishare-delta-tree qps
399
445
  application/vnd.pvi.ptid1 ptid
400
- application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb
446
+ application/vnd.quark.quarkxpress qwd qwt qxb qxd qxl qxt
447
+ application/vnd.rar rar
401
448
  application/vnd.realvnc.bed bed
402
449
  application/vnd.recordare.musicxml mxl
403
450
  application/vnd.recordare.musicxml+xml musicxml
@@ -418,7 +465,8 @@ application/vnd.shana.informed.package ipk
418
465
  application/vnd.simtech-mindmapper twd twds
419
466
  application/vnd.smaf mmf
420
467
  application/vnd.smart.teacher teacher
421
- application/vnd.solent.sdkm+xml sdkm sdkd
468
+ application/vnd.software602.filler.form+xml fo
469
+ application/vnd.solent.sdkm+xml sdkd sdkm
422
470
  application/vnd.spotfire.dxp dxp
423
471
  application/vnd.spotfire.sfs sfs
424
472
  application/vnd.stardivision.calc sdc
@@ -446,8 +494,9 @@ application/vnd.symbian.install sis si
446
494
  application/vnd.syncml+xml xsm
447
495
  application/vnd.syncml.dm+wbxml bdm
448
496
  application/vnd.syncml.dm+xml xdm
497
+ application/vnd.syncml.dmddf+xml ddf
449
498
  application/vnd.tao.intent-module-archive tao
450
- application/vnd.tcpdump.pcap pcap cap dmp
499
+ application/vnd.tcpdump.pcap cap dmp pcap
451
500
  application/vnd.tmobile-livetv tmo
452
501
  application/vnd.trid.tpt tpt
453
502
  application/vnd.triscape.mxs mxs
@@ -458,7 +507,7 @@ application/vnd.umajin umj
458
507
  application/vnd.unity unityweb
459
508
  application/vnd.uoml+xml uoml
460
509
  application/vnd.vcx vcx
461
- application/vnd.visio vsd vst vss vsw
510
+ application/vnd.visio vsd vss vst vsw
462
511
  application/vnd.visionary vis
463
512
  application/vnd.vsf vsf
464
513
  application/vnd.wap.wbxml wbxml
@@ -482,6 +531,8 @@ application/vnd.yellowriver-custom-menu cmp
482
531
  application/vnd.zul zir zirz
483
532
  application/vnd.zzazz.deck+xml zaz
484
533
  application/voicexml+xml vxml
534
+ application/wasm wasm
535
+ application/watcherinfo+xml wif
485
536
  application/widget wgt
486
537
  application/winhlp hlp
487
538
  application/wsdl+xml wsdl
@@ -490,15 +541,15 @@ application/x-7z-compressed 7z
490
541
  application/x-abiword abw
491
542
  application/x-ace-compressed ace
492
543
  application/x-arj arj
493
- application/x-authorware-bin aab x32 u32 vox
544
+ application/x-authorware-bin aab u32 vox x32
494
545
  application/x-authorware-map aam
495
546
  application/x-authorware-seg aas
496
547
  application/x-bcpio bcpio
497
548
  application/x-bittorrent torrent
498
549
  application/x-blorb blb blorb
499
550
  application/x-bzip bz
500
- application/x-bzip2 bz2 boz
501
- application/x-cbr cbr cba cbt cbz cb7
551
+ application/x-bzip2 boz bz2
552
+ application/x-cbr cb7 cba cbr cbt cbz
502
553
  application/x-cdlink vcd
503
554
  application/x-cfs-compressed cfs
504
555
  application/x-chat chat
@@ -510,7 +561,7 @@ application/x-cpio cpio
510
561
  application/x-csh csh
511
562
  application/x-debian-package udeb
512
563
  application/x-dgc-compressed dgc
513
- application/x-director dir dcr dxr cst cct cxt w3d fgd swa
564
+ application/x-director cct cst cxt dcr dir dxr fgd swa w3d
514
565
  application/x-doom wad
515
566
  application/x-dtbncx+xml ncx
516
567
  application/x-dtbook+xml dtb
@@ -521,11 +572,9 @@ application/x-eva eva
521
572
  application/x-font-bdf bdf
522
573
  application/x-font-ghostscript gsf
523
574
  application/x-font-linux-psf psf
524
- application/x-font-otf otf
525
575
  application/x-font-pcf pcf
526
576
  application/x-font-snf snf
527
- application/x-font-ttf ttf ttc
528
- application/x-font-type1 pfa pfb pfm afm
577
+ application/x-font-type1 afm pfa pfb pfm
529
578
  application/x-freearc arc
530
579
  application/x-futuresplash spl
531
580
  application/x-gca-compressed gca
@@ -538,12 +587,13 @@ application/x-httpd-php php
538
587
  application/x-install-instructions install
539
588
  application/x-java-archive-diff jardiff
540
589
  application/x-java-jnlp-file jnlp
590
+ application/x-keepass2 kdbx
541
591
  application/x-latex latex
542
592
  application/x-lua-bytecode luac
543
- application/x-lzh-compressed lzh lha
593
+ application/x-lzh-compressed lha lzh
544
594
  application/x-makeself run
545
595
  application/x-mie mie
546
- application/x-mobipocket-ebook prc mobi
596
+ application/x-mobipocket-ebook mobi prc
547
597
  application/x-ms-application application
548
598
  application/x-ms-shortcut lnk
549
599
  application/x-ms-wmd wmd
@@ -553,22 +603,21 @@ application/x-msaccess mdb
553
603
  application/x-msbinder obd
554
604
  application/x-mscardfile crd
555
605
  application/x-msclip clp
556
- application/x-msdownload com bat
557
- application/x-msmediaview mvb m13 m14
558
- application/x-msmetafile wmf emf emz
606
+ application/x-msdownload bat com
607
+ application/x-msmediaview m13 m14 mvb
608
+ application/x-msmetafile emf emz wmf
559
609
  application/x-msmoney mny
560
610
  application/x-mspublisher pub
561
611
  application/x-msschedule scd
562
612
  application/x-msterminal trm
563
613
  application/x-mswrite wri
564
- application/x-netcdf nc cdf
614
+ application/x-netcdf cdf nc
565
615
  application/x-ns-proxy-autoconfig pac
566
616
  application/x-nzb nzb
567
617
  application/x-perl pl pm
568
618
  application/x-pkcs12 p12 pfx
569
619
  application/x-pkcs7-certificates p7b spc
570
620
  application/x-pkcs7-certreqresp p7r
571
- application/x-rar-compressed rar
572
621
  application/x-redhat-package-manager rpm
573
622
  application/x-research-info-systems ris
574
623
  application/x-sea sea
@@ -588,7 +637,7 @@ application/x-tar tar
588
637
  application/x-tcl tcl tk
589
638
  application/x-tex tex
590
639
  application/x-tex-tfm tfm
591
- application/x-texinfo texinfo texi
640
+ application/x-texinfo texi texinfo
592
641
  application/x-tgif obj
593
642
  application/x-ustar ustar
594
643
  application/x-virtualbox-hdd hdd
@@ -601,34 +650,40 @@ application/x-virtualbox-vhd vhd
601
650
  application/x-virtualbox-vmdk vmdk
602
651
  application/x-wais-source src
603
652
  application/x-web-app-manifest+json webapp
604
- application/x-x509-ca-cert der crt pem
653
+ application/x-x509-ca-cert crt der pem
605
654
  application/x-xfig fig
606
655
  application/x-xliff+xml xlf
607
656
  application/x-xpinstall xpi
608
657
  application/x-xz xz
609
658
  application/x-zmachine z1 z2 z3 z4 z5 z6 z7 z8
610
659
  application/xaml+xml xaml
660
+ application/xcap-att+xml xav
661
+ application/xcap-caps+xml xca
611
662
  application/xcap-diff+xml xdf
663
+ application/xcap-el+xml xel
664
+ application/xcap-ns+xml xns
612
665
  application/xenc+xml xenc
613
- application/xhtml+xml xhtml xht
614
- application/xml xml xsl xsd rng
666
+ application/xhtml+xml xht xhtml
667
+ application/xml rng xml xsd xsl
615
668
  application/xml-dtd dtd
616
669
  application/xop+xml xop
617
670
  application/xproc+xml xpl
618
671
  application/xslt+xml xslt
619
672
  application/xspf+xml xspf
620
- application/xv+xml mxml xhvml xvml xvm
673
+ application/xv+xml mxml xhvml xvm xvml
621
674
  application/yang yang
622
675
  application/yin+xml yin
623
676
  application/zip zip
624
677
  audio/3gpp 3gpp
625
678
  audio/adpcm adp
679
+ audio/amr amr
626
680
  audio/basic au snd
627
- audio/midi mid midi kar rmi
681
+ audio/midi kar mid midi rmi
682
+ audio/mobile-xmf mxmf
628
683
  audio/mp3 mp3
629
684
  audio/mp4 m4a mp4a
630
- audio/mpeg mpga mp2 mp2a m2a m3a
631
- audio/ogg oga ogg spx
685
+ audio/mpeg m2a m3a mp2 mp2a mpga
686
+ audio/ogg oga ogg opus spx
632
687
  audio/s3m s3m
633
688
  audio/silk sil
634
689
  audio/vnd.dece.audio uva uvva
@@ -645,14 +700,14 @@ audio/vnd.rip rip
645
700
  audio/wav wav
646
701
  audio/webm weba
647
702
  audio/x-aac aac
648
- audio/x-aiff aif aiff aifc
703
+ audio/x-aiff aif aifc aiff
649
704
  audio/x-caf caf
650
705
  audio/x-flac flac
651
706
  audio/x-matroska mka
652
707
  audio/x-mpegurl m3u
653
708
  audio/x-ms-wax wax
654
709
  audio/x-ms-wma wma
655
- audio/x-pn-realaudio ram ra
710
+ audio/x-pn-realaudio ra ram
656
711
  audio/x-pn-realaudio-plugin rmp
657
712
  audio/xm xm
658
713
  chemical/x-cdx cdx
@@ -661,22 +716,57 @@ chemical/x-cmdf cmdf
661
716
  chemical/x-cml cml
662
717
  chemical/x-csml csml
663
718
  chemical/x-xyz xyz
719
+ font/collection ttc
720
+ font/otf otf
721
+ font/ttf ttf
722
+ font/woff woff
723
+ font/woff2 woff2
724
+ image/aces exr
664
725
  image/apng apng
726
+ image/avci avci
727
+ image/avcs avcs
728
+ image/avif avif
665
729
  image/bmp bmp
666
730
  image/cgm cgm
731
+ image/dicom-rle drle
732
+ image/fits fits
667
733
  image/g3fax g3
668
734
  image/gif gif
735
+ image/heic heic
736
+ image/heic-sequence heics
737
+ image/heif heif
738
+ image/heif-sequence heifs
739
+ image/hej2k hej2
740
+ image/hsj2 hsj2
669
741
  image/ief ief
670
- image/jpeg jpeg jpg jpe
742
+ image/jls jls
743
+ image/jp2 jp2 jpg2
744
+ image/jpeg jpe jpeg jpg
745
+ image/jph jph
746
+ image/jphc jhc
747
+ image/jpm jpm
748
+ image/jpx jpf jpx
749
+ image/jxr jxr
750
+ image/jxra jxra
751
+ image/jxrs jxrs
752
+ image/jxs jxs
753
+ image/jxsc jxsc
754
+ image/jxsi jxsi
755
+ image/jxss jxss
671
756
  image/ktx ktx
757
+ image/ktx2 ktx2
672
758
  image/png png
673
759
  image/prs.btif btif
760
+ image/prs.pti pti
674
761
  image/sgi sgi
675
762
  image/svg+xml svg svgz
676
- image/tiff tiff tif
763
+ image/t38 t38
764
+ image/tiff tif tiff
765
+ image/tiff-fx tfx
677
766
  image/vnd.adobe.photoshop psd
678
- image/vnd.dece.graphic uvi uvvi uvg uvvg
679
- image/vnd.djvu djvu djv
767
+ image/vnd.airzip.accelerator.azv azv
768
+ image/vnd.dece.graphic uvg uvi uvvg uvvi
769
+ image/vnd.djvu djv djvu
680
770
  image/vnd.dvb.subtitle sub
681
771
  image/vnd.dwg dwg
682
772
  image/vnd.dxf dxf
@@ -685,21 +775,25 @@ image/vnd.fpx fpx
685
775
  image/vnd.fst fst
686
776
  image/vnd.fujixerox.edmics-mmr mmr
687
777
  image/vnd.fujixerox.edmics-rlc rlc
778
+ image/vnd.microsoft.icon ico
779
+ image/vnd.ms-dds dds
688
780
  image/vnd.ms-modi mdi
689
781
  image/vnd.ms-photo wdp
690
782
  image/vnd.net-fpx npx
783
+ image/vnd.pco.b16 b16
784
+ image/vnd.tencent.tap tap
785
+ image/vnd.valve.source.texture vtf
691
786
  image/vnd.wap.wbmp wbmp
692
787
  image/vnd.xiff xif
788
+ image/vnd.zbrush.pcx pcx
693
789
  image/webp webp
694
790
  image/x-3ds 3ds
695
791
  image/x-cmu-raster ras
696
792
  image/x-cmx cmx
697
- image/x-freehand fh fhc fh4 fh5 fh7
698
- image/x-icon ico
793
+ image/x-freehand fh fh4 fh5 fh7 fhc
699
794
  image/x-jng jng
700
795
  image/x-mrsid-image sid
701
- image/x-pcx pcx
702
- image/x-pict pic pct
796
+ image/x-pict pct pic
703
797
  image/x-portable-anymap pnm
704
798
  image/x-portable-bitmap pbm
705
799
  image/x-portable-graymap pgm
@@ -709,18 +803,35 @@ image/x-tga tga
709
803
  image/x-xbitmap xbm
710
804
  image/x-xpixmap xpm
711
805
  image/x-xwindowdump xwd
806
+ message/disposition-notification disposition-notification
807
+ message/global u8msg
808
+ message/global-delivery-status u8dsn
809
+ message/global-disposition-notification u8mdn
810
+ message/global-headers u8hdr
712
811
  message/rfc822 eml mime
812
+ message/vnd.wfa.wsc wsc
813
+ model/3mf 3mf
713
814
  model/gltf+json gltf
714
815
  model/gltf-binary glb
715
- model/iges igs iges
716
- model/mesh msh mesh silo
816
+ model/iges iges igs
817
+ model/mesh mesh msh silo
818
+ model/mtl mtl
819
+ model/step+xml stpx
820
+ model/step+zip stpz
821
+ model/step-xml+zip stpxz
717
822
  model/vnd.collada+xml dae
718
823
  model/vnd.dwf dwf
719
824
  model/vnd.gdl gdl
720
825
  model/vnd.gtw gtw
721
826
  model/vnd.mts mts
827
+ model/vnd.opengex ogex
828
+ model/vnd.parasolid.transmit.binary x_b
829
+ model/vnd.parasolid.transmit.text x_t
830
+ model/vnd.sap.vds vds
831
+ model/vnd.usdz+zip usdz
832
+ model/vnd.valve.source.compiled-map bsp
722
833
  model/vnd.vtu vtu
723
- model/vrml wrl vrml
834
+ model/vrml vrml wrl
724
835
  model/x3d+binary x3db x3dbz
725
836
  model/x3d+vrml x3dv x3dvz
726
837
  model/x3d+xml x3d x3dz
@@ -729,22 +840,24 @@ text/calendar ics if
729
840
  text/coffeescript coffee litcoffee
730
841
  text/css css
731
842
  text/csv csv
732
- text/hjson hjson
733
- text/html html htm shtml
843
+ text/html htm html shtml
734
844
  text/jade jade
735
845
  text/jsx jsx
736
846
  text/less less
737
847
  text/markdown markdown md
738
848
  text/mathml mml
849
+ text/mdx mdx
739
850
  text/n3 n3
740
- text/plain txt text conf def list log in ini
851
+ text/plain conf def in ini list log text txt
741
852
  text/prs.lines.tag dsc
742
853
  text/richtext rtx
743
- text/sgml sgml sgm
854
+ text/sgml sgm sgml
855
+ text/shex shex
744
856
  text/slim slim slm
745
- text/stylus stylus styl
857
+ text/spdx spdx
858
+ text/stylus styl stylus
746
859
  text/tab-separated-values tsv
747
- text/troff t tr roff man me ms
860
+ text/troff man me ms roff t tr
748
861
  text/turtle ttl
749
862
  text/uri-list uri uris urls
750
863
  text/vcard vcard
@@ -752,6 +865,7 @@ text/vnd.curl curl
752
865
  text/vnd.curl.dcurl dcurl
753
866
  text/vnd.curl.mcurl mcurl
754
867
  text/vnd.curl.scurl scurl
868
+ text/vnd.familysearch.gedcom ged
755
869
  text/vnd.fly fly
756
870
  text/vnd.fmi.flexstor flx
757
871
  text/vnd.graphviz gv
@@ -761,10 +875,10 @@ text/vnd.sun.j2me.app-descriptor jad
761
875
  text/vnd.wap.wml wml
762
876
  text/vnd.wap.wmlscript wmls
763
877
  text/vtt vtt
764
- text/x-asm s asm
765
- text/x-c c cc cxx cpp h hh dic
878
+ text/x-asm asm s
879
+ text/x-c c cc cpp cxx dic h hh
766
880
  text/x-component htc
767
- text/x-fortran f for f77 f90
881
+ text/x-fortran f f77 f90 for
768
882
  text/x-handlebars-template hbs
769
883
  text/x-java-source java
770
884
  text/x-lua lua
@@ -787,14 +901,15 @@ video/3gpp2 3g2
787
901
  video/h261 h261
788
902
  video/h263 h263
789
903
  video/h264 h264
904
+ video/iso.segment m4s
790
905
  video/jpeg jpgv
791
- video/jpm jpm jpgm
906
+ video/jpm jpgm
792
907
  video/mj2 mj2 mjp2
793
908
  video/mp2t ts
794
909
  video/mp4 mp4 mp4v mpg4
795
- video/mpeg mpeg mpg mpe m1v m2v
910
+ video/mpeg m1v m2v mpe mpeg mpg
796
911
  video/ogg ogv
797
- video/quicktime qt mov
912
+ video/quicktime mov qt
798
913
  video/vnd.dece.hd uvh uvvh
799
914
  video/vnd.dece.mobile uvm uvvm
800
915
  video/vnd.dece.pd uvp uvvp
@@ -802,7 +917,7 @@ video/vnd.dece.sd uvs uv
802
917
  video/vnd.dece.video uvv uvvv
803
918
  video/vnd.dvb.file dvb
804
919
  video/vnd.fvt fvt
805
- video/vnd.mpegurl mxu m4u
920
+ video/vnd.mpegurl m4u mxu
806
921
  video/vnd.ms-playready.media.pyv pyv
807
922
  video/vnd.uvvu.mp4 uvu uvvu
808
923
  video/vnd.vivo viv
@@ -811,7 +926,7 @@ video/x-f4v f4v
811
926
  video/x-fli fli
812
927
  video/x-flv flv
813
928
  video/x-m4v m4v
814
- video/x-matroska mkv mk3d mks
929
+ video/x-matroska mk3d mks mkv
815
930
  video/x-mng mng
816
931
  video/x-ms-asf asf asx
817
932
  video/x-ms-vob vob
@@ -54,16 +54,14 @@ module Jekyll
54
54
  def read_data_file(path)
55
55
  case File.extname(path).downcase
56
56
  when ".csv"
57
- CSV.read(path, {
57
+ CSV.read(path,
58
58
  :headers => true,
59
- :encoding => site.config["encoding"],
60
- }).map(&:to_hash)
59
+ :encoding => site.config["encoding"]).map(&:to_hash)
61
60
  when ".tsv"
62
- CSV.read(path, {
61
+ CSV.read(path,
63
62
  :col_sep => "\t",
64
63
  :headers => true,
65
- :encoding => site.config["encoding"],
66
- }).map(&:to_hash)
64
+ :encoding => site.config["encoding"]).map(&:to_hash)
67
65
  else
68
66
  SafeYAML.load_file(path)
69
67
  end
@@ -147,12 +147,17 @@ MSG
147
147
  end
148
148
 
149
149
  def add_include_to_dependency(site, path, context)
150
- if context.registers[:page] && context.registers[:page].key?("path")
151
- site.regenerator.add_dependency(
152
- site.in_source_dir(context.registers[:page]["path"]),
153
- path
154
- )
155
- end
150
+ page = context.registers[:page]
151
+ return unless page
152
+ return unless page.key?("path")
153
+
154
+ absolute_path = \
155
+ if page["collection"]
156
+ site.in_source_dir(site.config["collections_dir"], page["path"])
157
+ else
158
+ site.in_source_dir(page["path"])
159
+ end
160
+ site.regenerator.add_dependency(absolute_path, path)
156
161
  end
157
162
 
158
163
  def load_cached_partial(path, context)
@@ -70,9 +70,9 @@ module Jekyll
70
70
  private
71
71
  def proc_version
72
72
  @proc_version ||= begin
73
- Pathutil.new(
73
+ File.read(
74
74
  "/proc/version"
75
- ).read
75
+ ).downcase
76
76
  rescue Errno::ENOENT
77
77
  nil
78
78
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jekyll
4
- VERSION = "3.9.1".freeze
4
+ VERSION = "3.9.2".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.1
4
+ version: 3.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-08 00:00:00.000000000 Z
11
+ date: 2022-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -216,6 +216,7 @@ files:
216
216
  - lib/jekyll/commands/serve.rb
217
217
  - lib/jekyll/commands/serve/live_reload_reactor.rb
218
218
  - lib/jekyll/commands/serve/livereload_assets/livereload.js
219
+ - lib/jekyll/commands/serve/mime_types_charset.json
219
220
  - lib/jekyll/commands/serve/servlet.rb
220
221
  - lib/jekyll/commands/serve/websockets.rb
221
222
  - lib/jekyll/configuration.rb