From 7a483c5f5f3a8c601d5d7c8bfc40f8df651cf5f0 Mon Sep 17 00:00:00 2001 From: MasterEnoc Date: Fri, 4 Dec 2020 19:06:25 -0600 Subject: [PATCH] Update Twig to 3.1.1 and update previous versions --- .../templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/twig.rb | 12 +++++++++--- public/icons/docs/twig/16.png | Bin 772 -> 613 bytes public/icons/docs/twig/16@2x.png | Bin 2411 -> 1041 bytes public/icons/docs/twig/SOURCE | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index afaf37a3..4e992a97 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -783,7 +783,7 @@ credits = [ 'https://raw.githubusercontent.com/python-trio/trio/master/LICENSE.MIT' ], [ 'Twig', - '2009-2018 The Twig Team', + '2009-2020 The Twig Team', 'BSD', 'https://twig.symfony.com/license' ], [ diff --git a/lib/docs/scrapers/twig.rb b/lib/docs/scrapers/twig.rb index e52ff6bd..aa7b8a6c 100755 --- a/lib/docs/scrapers/twig.rb +++ b/lib/docs/scrapers/twig.rb @@ -11,7 +11,7 @@ module Docs options[:attribution] = <<-HTML © 2009–2018 by the Twig Team
Licensed under the three clause BSD license.
- The Twig logo is © 2010–2018 Symfony + The Twig logo is © 2010–2020 Symfony HTML html_filters.push 'twig/clean_html', 'twig/entries' @@ -19,13 +19,18 @@ module Docs options[:container] = 'div.bd > div.content' options[:skip] = %w(deprecated.html advanced_legacy.html) + version '3' do + self.release = '3.1.1' + self.base_url = 'https://twig.symfony.com/doc/3.x/' + end + version '2' do - self.release = '2.5.0' + self.release = '2.14.1' self.base_url = 'https://twig.symfony.com/doc/2.x/' end version '1' do - self.release = '1.34.3' + self.release = '1.44.1' self.base_url = 'https://twig.symfony.com/doc/1.x/' end @@ -33,5 +38,6 @@ module Docs tags = get_github_tags('twigphp', 'Twig', opts) tags[0]['name'][1..-1] end + end end diff --git a/public/icons/docs/twig/16.png b/public/icons/docs/twig/16.png index 4ed5a5bad755b9452a6351ff98a02a3e61d69dc5..8824ffc96251a44483d0e4955924ec567738dd2d 100644 GIT binary patch literal 613 zcmeAS@N?(olHy`uVBq!ia0vp^{6H+g!3-q-bzC(AQY`6?zK#qG8~eHcB(ehe3dtTp zz6=aiY77hwEes65fIdW!{_@yeSZG;@1MW_{+zx!=l-(;AHF`>a3uTxzyE*#{yuec;gO4z|NZ~B;b`%_ zr^n~-NP6@B&YwTu{`~#<>(7^OKfiRXihlNL_us!izy5sr<;SznKOdfdytZb(&8xS& z|NZ;(@!Qk;Z;l?gHKk}a-?NMQuIx{ESQ(l1 zjRaq<0t!v?ba4#fxbEA3UF?tnk8|qs3kFdd)$2EXZ~On>=*|+~i_U&3r!CDJL>nXc zrbeljt2mmeedBVSAG07(>u@>iGB48~uiHabufA~0W1F+dtf2Etqu=`dk~;YM+pp$_ zCw_iRv6`(fke+c`^xACQqiO3TcH7GLsXsKfdR!E`{WtTicgFMd>+1KNy2xfZ<7c!> zLZkN~`6gR-euHVt9s*sbTH+c}l9E`GYL#4+3Zxi}42%qP4UKdSOhXI|tqcsTOf9v6 zq=7;D50OL^4Y~O#nQ4`{HHa-;a~G&V5@bVgep*R+Vo@rCV@iHfs)A>3VtQ&&YGO)d T;mK4`+%tH(`njxgN@xNAk**_N literal 772 zcmV+f1N;1mP)ObvgK~O zPm*C-+??Ux4Q=AuWu$fk#L;R5rbgkC)3&qi>cixWUUbx-qAz~FpBVrks-n5Wpmsk5=lsLo;m|!V1mK`O&SYlt2p)L; zau%#FJEX*DK6x}vHz|Yq5@h*m>%655l7A$5na#~S7E2>o**zZPyqlD5CCv=4(3rWw?uO+WX;kjgQD-JGPzP zlS(m6x7^AH-@U+V-#yL2le?0Oml&$-%Eah)7>R#Ze8A^_Ts>F2Bl669JLM1x8r?Q~s*+MA)cnj;Uc5#l1MV`owLaW*zz!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vxXI?f z%ex={ASc(qyIKCKIK&yLaJFVJbLQ;>-hcEfL=CL^&*gCEX(~Shgmt&z;`%=Cee%cr z(?`F~+2SEpA?)~qqiMw1E6(PB#rvQA3|+ru(Z0l_xs5diZGXeX{9ki`U(V*gM>pJ1 zxI-#G!6m)kB&~{Lx?#?v`5&l}x7^V6c*ynY&zP^@V@NH9&;PY!AmEf0##9tJ zjjFJUpK!JQ7uGrT&FZ5($SqQIIlxJt#Xqy?KOo{5RmThz$gsed%5;3lcobN**=+q! zY-YK*j}cEypV5W;C{X%iyxrd(&>m;4Q%Iz=7Vj*L+$P3l=A5hcPq^+&!XT{IJ(>bd zxr_BvZaPaCR+J*tm7y&AOae z6^Ai<2oVvBn1sj*h)R+qDnW$gMibM-0DUX;eM+zfu~?hUO@SCkbc$o34;?YKppnuV z%32tgj;8jT01$xzF<`|ZQX>cuQRz1;f`WC{d5<$9xMpeyJ!n#fUQF(!s6YTosG1C5 z0uWGDtSC*Pl+G|6dnO}~_nZGA0>)${0X-mqBBB_PY$L{dXhsHO1$X-K@S7kLL7#2L zW+wy~28|Gn5(Pj7L=r**KoANKquMaa=2hh}7Ek~|1VDj+0wO3P$rsibBebh{b+HWZ z#>Cu2HP3`J?o zD0?Wpiz>MW`L{6YW#002ovPDHLkV1lVLjBfw{ diff --git a/public/icons/docs/twig/SOURCE b/public/icons/docs/twig/SOURCE index e9916089..5d9a6be0 100644 --- a/public/icons/docs/twig/SOURCE +++ b/public/icons/docs/twig/SOURCE @@ -1 +1 @@ -http://twig.sensiolabs.org/images/twig-logo.png +https://twig.sensiolabs.org/images/twig-logo.png