diff --git a/test.js b/test.js index 949fa352..b0360c3d 100644 --- a/test.js +++ b/test.js @@ -40,6 +40,13 @@ function report(content, fix) { fs.writeFile(path.join('users', user), stringified, () => {}); }); } + if (typeof u.gravatar === 'string') { + report(`Gravatar boolean encoded as string found in ${user}`, () => { + u.gravatar = u.gravatar === 'true'; + const stringified = `${JSON.stringify(u, 0, 2)}\n`; + fs.writeFile(path.join('users', user), stringified, () => {}); + }); + } } catch ({ message }) { report(`Invalid JSON in ${user} (${message})`); } diff --git a/users/DanielArthurUK.json b/users/DanielArthurUK.json index 7178821a..0a157209 100644 --- a/users/DanielArthurUK.json +++ b/users/DanielArthurUK.json @@ -2,5 +2,5 @@ "copyright": "Daniel Arthur, https://danielarthur.uk", "url": "https://danielarthur.uk", "email": "me@danielarthur.uk", - "gravatar": "true" + "gravatar": true } diff --git a/users/aarjithn.json b/users/aarjithn.json index 97b41eeb..88a8f1be 100644 --- a/users/aarjithn.json +++ b/users/aarjithn.json @@ -2,5 +2,5 @@ "copyright": "Aarjith Nandakumar", "url": "http://aarjithn.github.io", "email": "aarjithn[at]gmail.com", - "gravatar": "true" + "gravatar": true } diff --git a/users/absorbingchaos.json b/users/absorbingchaos.json index b6104c1b..08bccc02 100644 --- a/users/absorbingchaos.json +++ b/users/absorbingchaos.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/akash-singh.json b/users/akash-singh.json index 6e2043dd..becfc8e0 100644 --- a/users/akash-singh.json +++ b/users/akash-singh.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default-dark", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/alfmo.json b/users/alfmo.json index 8f4593ed..40425545 100644 --- a/users/alfmo.json +++ b/users/alfmo.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/armando.json b/users/armando.json index 28dd9630..9fb9144a 100644 --- a/users/armando.json +++ b/users/armando.json @@ -1,9 +1,9 @@ { - "copyright": "Armando Lüscher, https://noplanman.ch", + "copyright": "Armando L�scher, https://noplanman.ch", "url": "https://noplanman.ch", "email": "armando@noplanman.ch", "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/bshaikh.json b/users/bshaikh.json index 8238aa30..f33079b0 100644 --- a/users/bshaikh.json +++ b/users/bshaikh.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/cdipietro.json b/users/cdipietro.json index 3b33c3e5..b3528aa5 100644 --- a/users/cdipietro.json +++ b/users/cdipietro.json @@ -2,6 +2,6 @@ "copyright": "Carlos A. Di Pietro, http://cdipietro.com.ar", "url": "http://cdipietro.com.ar", "email": "carlos@cdipietro.com.ar", - "gravatar": "true", + "gravatar": true, "theme": "default" } diff --git a/users/chad-loether.json b/users/chad-loether.json index baf0fc83..cea562ce 100644 --- a/users/chad-loether.json +++ b/users/chad-loether.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/cheese.json b/users/cheese.json index d02f74da..5ba68898 100644 --- a/users/cheese.json +++ b/users/cheese.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "material-blue", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/chemars.json b/users/chemars.json index f0963432..200c4e10 100644 --- a/users/chemars.json +++ b/users/chemars.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/david-intveld.json b/users/david-intveld.json index 55aa7885..ccdd42dd 100644 --- a/users/david-intveld.json +++ b/users/david-intveld.json @@ -5,5 +5,5 @@ "format": "text", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/dayflower.json b/users/dayflower.json index cc2a78d9..d53aedee 100644 --- a/users/dayflower.json +++ b/users/dayflower.json @@ -1,4 +1,4 @@ { "copyright": "dayflower", - "gravatar": "true" + "gravatar": true } diff --git a/users/dcunited001.json b/users/dcunited001.json index d1f40b59..b7596753 100644 --- a/users/dcunited001.json +++ b/users/dcunited001.json @@ -2,7 +2,7 @@ "copyright": "David Conner", "email": "dconner.pro@gmail.com", "format": "html", - "gravatar": "true", + "gravatar": true, "url": "http://te.xel.io", "theme": "opensans" } diff --git a/users/dennohpeter.json b/users/dennohpeter.json index 4f5222aa..f24f3976 100644 --- a/users/dennohpeter.json +++ b/users/dennohpeter.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/djohnson.json b/users/djohnson.json index 5f18639a..6ef6f7b2 100644 --- a/users/djohnson.json +++ b/users/djohnson.json @@ -3,6 +3,6 @@ "url": "http://duncanjohnson.ca/", "email": "duncan@duncanjohnson.ca", "format": "html", - "gravatar": "true", + "gravatar": true, "theme": "double-windsor" } diff --git a/users/domdomegg.json b/users/domdomegg.json index 6b348d20..d9948aeb 100644 --- a/users/domdomegg.json +++ b/users/domdomegg.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/dvrein.json b/users/dvrein.json index 757dd391..0ea3a466 100644 --- a/users/dvrein.json +++ b/users/dvrein.json @@ -1,7 +1,7 @@ { "copyright": "dvrein", "url": "https://github.com/dvrein", - "gravatar": "false", + "gravatar": false, "format": "html", "theme": "xtansia" } diff --git a/users/eai.json b/users/eai.json index 20de6146..18a8a906 100644 --- a/users/eai.json +++ b/users/eai.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/egeriis.json b/users/egeriis.json index 639f103d..1b18b2f3 100644 --- a/users/egeriis.json +++ b/users/egeriis.json @@ -2,5 +2,5 @@ "copyright": "Ronni Egeriis Persson", "url": "http://egeriis.me", "email": "ronni@egeriis.me", - "gravatar": "true" + "gravatar": true } diff --git a/users/eilertenstudio.json b/users/eilertenstudio.json index 48f72514..b1b202c6 100644 --- a/users/eilertenstudio.json +++ b/users/eilertenstudio.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "dusk", - "gravatar": "true" + "gravatar": true } diff --git a/users/erruption.json b/users/erruption.json index 28201d2b..c101772c 100644 --- a/users/erruption.json +++ b/users/erruption.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/fabioluciano.json b/users/fabioluciano.json index caf5c908..73e6e75b 100644 --- a/users/fabioluciano.json +++ b/users/fabioluciano.json @@ -3,6 +3,6 @@ "url": "http://naoimporta.com", "email": "fabio@naoimporta.com", "format": "html", - "gravatar": "true", + "gravatar": true, "theme": "flesch" } diff --git a/users/gabrielsegalla.json b/users/gabrielsegalla.json index 091a5ef6..ccd0349a 100644 --- a/users/gabrielsegalla.json +++ b/users/gabrielsegalla.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/gamal-abdulnasser.json b/users/gamal-abdulnasser.json index 249bb08d..4e569077 100644 --- a/users/gamal-abdulnasser.json +++ b/users/gamal-abdulnasser.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/gamalan.json b/users/gamalan.json index 249bb08d..4e569077 100644 --- a/users/gamalan.json +++ b/users/gamalan.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/gianfrancopiana.json b/users/gianfrancopiana.json index fc24f1c8..5c4349eb 100644 --- a/users/gianfrancopiana.json +++ b/users/gianfrancopiana.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/greenify.json b/users/greenify.json index b9611a04..278b29f2 100644 --- a/users/greenify.json +++ b/users/greenify.json @@ -3,6 +3,6 @@ "url": "https://github.com/greenify", "email": "greeenify@gmail.com", "format": "html", - "gravatar": "true", + "gravatar": true, "theme": "magicmint" } diff --git a/users/guilhermemarconi.json b/users/guilhermemarconi.json index 1b8ef423..8613e5fe 100644 --- a/users/guilhermemarconi.json +++ b/users/guilhermemarconi.json @@ -3,5 +3,5 @@ "url": "http://guilhermemarconi.me", "email": "oi@guilhermemarconi.me", "format": "txt", - "gravatar": "gwyer" + "gravatar": false } diff --git a/users/imgios.json b/users/imgios.json index 1144058b..7b5d8d79 100644 --- a/users/imgios.json +++ b/users/imgios.json @@ -1,9 +1,9 @@ { - "copyright": "Giosuè", + "copyright": "Giosu�", "url": "https://www.giosuesulipano.it", "email": "contact@giosuesulipano.it", "format": "html", "license": "mit", "theme": "8bits-monochrome", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/infrony.json b/users/infrony.json index 5f9a6121..43b54cf7 100644 --- a/users/infrony.json +++ b/users/infrony.json @@ -1,9 +1,9 @@ { - "copyright": "Rodney Guillén", + "copyright": "Rodney Guill�n", "url": "https://www.infrony.net/", "email": "infrony@gmail.com", "format": "html", "license": "mit", "theme": "friendly", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/jacob-shaw.json b/users/jacob-shaw.json index 28f5fefa..fa94df81 100644 --- a/users/jacob-shaw.json +++ b/users/jacob-shaw.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/karol-stumski.json b/users/karol-stumski.json index bd88eaea..7c022ca2 100644 --- a/users/karol-stumski.json +++ b/users/karol-stumski.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "8bits-monochrome-blue-white", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/krolow.json b/users/krolow.json index 45126264..dd6459b7 100644 --- a/users/krolow.json +++ b/users/krolow.json @@ -2,5 +2,5 @@ "copyright": "Vinícius Krolow", "url": "http://krolow.com.br", "email": "krolow@gmail.com", - "gravatar": "true" + "gravatar": true } diff --git a/users/ktg.json b/users/ktg.json index 1039c694..dd33a7a8 100644 --- a/users/ktg.json +++ b/users/ktg.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "material-grey", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/luis-matute.json b/users/luis-matute.json index 729aa8f9..21deab61 100644 --- a/users/luis-matute.json +++ b/users/luis-matute.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "dusk", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/machii.json b/users/machii.json index d357986b..16bb2493 100644 --- a/users/machii.json +++ b/users/machii.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/machii028.json b/users/machii028.json index e87db1cf..bb687134 100644 --- a/users/machii028.json +++ b/users/machii028.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "material-lime", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/machii28.json b/users/machii28.json index fa97b4fe..10544791 100644 --- a/users/machii28.json +++ b/users/machii28.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "8bits-monochrome-amber", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/mark-cornelio.json b/users/mark-cornelio.json index d357986b..16bb2493 100644 --- a/users/mark-cornelio.json +++ b/users/mark-cornelio.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/mit-license-generator.json b/users/mit-license-generator.json index c7ea8c85..cc5b3f61 100644 --- a/users/mit-license-generator.json +++ b/users/mit-license-generator.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "material-indigo", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/mizucoffee.json b/users/mizucoffee.json index 972b2f25..560023fc 100644 --- a/users/mizucoffee.json +++ b/users/mizucoffee.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "material-indigo", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/myproject.json b/users/myproject.json index f1eac958..0b174a92 100644 --- a/users/myproject.json +++ b/users/myproject.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/nemo.json b/users/nemo.json index 4c3aedcc..ca8f73cb 100644 --- a/users/nemo.json +++ b/users/nemo.json @@ -2,6 +2,6 @@ "copyright": "Abhay Rana", "email": "me@captnemo.in", "url": "https://captnemo.in/", - "gravatar": "true", + "gravatar": true, "theme": "double-windsor" } diff --git a/users/nils-andresen.json b/users/nils-andresen.json index 26d8a0b8..0f30a4fe 100644 --- a/users/nils-andresen.json +++ b/users/nils-andresen.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "black-beauty", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/noplanman.json b/users/noplanman.json index 28dd9630..9fb9144a 100644 --- a/users/noplanman.json +++ b/users/noplanman.json @@ -1,9 +1,9 @@ { - "copyright": "Armando Lüscher, https://noplanman.ch", + "copyright": "Armando L�scher, https://noplanman.ch", "url": "https://noplanman.ch", "email": "armando@noplanman.ch", "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/not-akash-singh.json b/users/not-akash-singh.json index 09d92b2a..2086fa90 100644 --- a/users/not-akash-singh.json +++ b/users/not-akash-singh.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "blackwood", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/pb.json b/users/pb.json index 1f365a6d..ffeaf90c 100644 --- a/users/pb.json +++ b/users/pb.json @@ -3,5 +3,5 @@ "email": "pburtchaell@me.com", "url": "http://pburtchaell.com/", "format": "html", - "gravatar": "true" + "gravatar": true } diff --git a/users/pikachu.json b/users/pikachu.json index a533b16d..c91762a6 100644 --- a/users/pikachu.json +++ b/users/pikachu.json @@ -5,5 +5,5 @@ "format": "text", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/rayraegah.json b/users/rayraegah.json index 90e6c57a..ea842301 100644 --- a/users/rayraegah.json +++ b/users/rayraegah.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default-dark", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/ri7nz.json b/users/ri7nz.json index a6a385c6..5adbb466 100644 --- a/users/ri7nz.json +++ b/users/ri7nz.json @@ -3,6 +3,6 @@ "url": "https://rin.rocks", "email": "ri7nz.labs@gmail.com", "format": "html", - "gravatar": "false", + "gravatar": false, "theme": "afterdark" } diff --git a/users/rodrigokono.json b/users/rodrigokono.json index f13889fc..8b99cb2d 100644 --- a/users/rodrigokono.json +++ b/users/rodrigokono.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/romanboiko.json b/users/romanboiko.json index 04e148b5..0b62ae91 100644 --- a/users/romanboiko.json +++ b/users/romanboiko.json @@ -2,5 +2,5 @@ "copyright": "Roman Boiko", "url": "https://www.linkedin.com/in/romanboiko", "email": "boiko.roman@gmail.com", - "gravatar": "true" + "gravatar": true } diff --git a/users/roseauhan.json b/users/roseauhan.json index 1235bed6..c97a9a6f 100644 --- a/users/roseauhan.json +++ b/users/roseauhan.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/ryan-senn.json b/users/ryan-senn.json index c1514daa..25052384 100644 --- a/users/ryan-senn.json +++ b/users/ryan-senn.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/sarmadbilal.json b/users/sarmadbilal.json index 7fe78488..bdd02b34 100644 --- a/users/sarmadbilal.json +++ b/users/sarmadbilal.json @@ -5,5 +5,5 @@ "format": "html", "license": "isc", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/sdgags.json b/users/sdgags.json index af9d1868..98a65bc3 100644 --- a/users/sdgags.json +++ b/users/sdgags.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/sillysina.json b/users/sillysina.json index c5703321..5f36555e 100644 --- a/users/sillysina.json +++ b/users/sillysina.json @@ -4,5 +4,5 @@ "email": "sina@mashek.xyz", "format": "html", "theme": "default-dark", - "gravatar": "true" + "gravatar": true } diff --git a/users/snhack.json b/users/snhack.json index 6997d101..d5bbcb8f 100644 --- a/users/snhack.json +++ b/users/snhack.json @@ -2,5 +2,5 @@ "copyright": "Swindon Hackspace", "url": "swindon.hackspace.org.uk", "email": "snhackspace@gmail.com", - "gravatar": "true" + "gravatar": true } diff --git a/users/stan-williams.json b/users/stan-williams.json index c25f04d5..b19c4d63 100644 --- a/users/stan-williams.json +++ b/users/stan-williams.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/startvm.json b/users/startvm.json index 09f049b6..091ee6c5 100644 --- a/users/startvm.json +++ b/users/startvm.json @@ -4,5 +4,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/syl2010.json b/users/syl2010.json index 927e41f3..ed33e629 100644 --- a/users/syl2010.json +++ b/users/syl2010.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "material-blue", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/thomas-placais.json b/users/thomas-placais.json index 131d1fa7..b99374d9 100644 --- a/users/thomas-placais.json +++ b/users/thomas-placais.json @@ -4,5 +4,5 @@ "format": "text", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +} diff --git a/users/tom.json b/users/tom.json index 0992b632..889ba6db 100644 --- a/users/tom.json +++ b/users/tom.json @@ -2,6 +2,6 @@ "copyright": "Tom Lavenziano", "email": "tlavenziano@gmail.com", "format": "html", - "gravatar": "false", + "gravatar": false, "theme": "dusk" } diff --git a/users/vilja.json b/users/vilja.json index c8e76445..b170e372 100644 --- a/users/vilja.json +++ b/users/vilja.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "true" -} \ No newline at end of file + "gravatar": true +} diff --git a/users/yungsang.json b/users/yungsang.json index 6d6d376e..42c03b84 100644 --- a/users/yungsang.json +++ b/users/yungsang.json @@ -3,5 +3,5 @@ "url": "http://yungsang.com", "email": "info@yungsang.com", "theme": "flesch", - "gravatar": "ture" + "gravatar": false } diff --git a/users/zishu-liu.json b/users/zishu-liu.json index 74b968d4..f8226c34 100644 --- a/users/zishu-liu.json +++ b/users/zishu-liu.json @@ -5,5 +5,5 @@ "format": "html", "license": "mit", "theme": "default", - "gravatar": "false" -} \ No newline at end of file + "gravatar": false +}