pygments.rb 2.4.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +8 -8
- data/.github/workflows/release.yml +5 -5
- data/.gitignore +2 -0
- data/.rubocop.yml +1 -1
- data/CHANGELOG.adoc +12 -0
- data/README.adoc +2 -2
- data/lib/pygments/popen.rb +2 -2
- data/lib/pygments/version.rb +1 -1
- data/pygments.rb.gemspec +3 -3
- data/vendor/pygments-main/bin/pygmentize +1 -1
- data/vendor/pygments-main/pygments/__init__.py +2 -2
- data/vendor/pygments-main/pygments/__main__.py +1 -1
- data/vendor/pygments-main/pygments/cmdline.py +12 -12
- data/vendor/pygments-main/pygments/console.py +5 -5
- data/vendor/pygments-main/pygments/filter.py +2 -3
- data/vendor/pygments-main/pygments/filters/__init__.py +4 -4
- data/vendor/pygments-main/pygments/formatter.py +6 -1
- data/vendor/pygments-main/pygments/formatters/__init__.py +7 -8
- data/vendor/pygments-main/pygments/formatters/_mapping.py +0 -0
- data/vendor/pygments-main/pygments/formatters/bbcode.py +2 -2
- data/vendor/pygments-main/pygments/formatters/groff.py +3 -3
- data/vendor/pygments-main/pygments/formatters/html.py +38 -40
- data/vendor/pygments-main/pygments/formatters/img.py +51 -11
- data/vendor/pygments-main/pygments/formatters/irc.py +1 -1
- data/vendor/pygments-main/pygments/formatters/latex.py +24 -27
- data/vendor/pygments-main/pygments/formatters/other.py +3 -4
- data/vendor/pygments-main/pygments/formatters/pangomarkup.py +2 -2
- data/vendor/pygments-main/pygments/formatters/rtf.py +228 -25
- data/vendor/pygments-main/pygments/formatters/svg.py +17 -20
- data/vendor/pygments-main/pygments/formatters/terminal.py +1 -1
- data/vendor/pygments-main/pygments/formatters/terminal256.py +1 -1
- data/vendor/pygments-main/pygments/lexer.py +51 -33
- data/vendor/pygments-main/pygments/lexers/__init__.py +12 -12
- data/vendor/pygments-main/pygments/lexers/_ada_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_asy_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_cl_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_cocoa_builtins.py +2 -2
- data/vendor/pygments-main/pygments/lexers/_csound_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_css_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_julia_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_lasso_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_lilypond_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_lua_builtins.py +5 -5
- data/vendor/pygments-main/pygments/lexers/_luau_builtins.py +62 -0
- data/vendor/pygments-main/pygments/lexers/_mapping.py +41 -11
- data/vendor/pygments-main/pygments/lexers/_mql_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_mysql_builtins.py +3 -3
- data/vendor/pygments-main/pygments/lexers/_openedge_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_php_builtins.py +3 -3
- data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +5 -5
- data/vendor/pygments-main/pygments/lexers/_qlik_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_scheme_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +4 -4
- data/vendor/pygments-main/pygments/lexers/_sourcemod_builtins.py +3 -3
- data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_stata_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_tsql_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_usd_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_vbscript_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_vim_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/actionscript.py +6 -8
- data/vendor/pygments-main/pygments/lexers/ada.py +3 -3
- data/vendor/pygments-main/pygments/lexers/agile.py +3 -1
- data/vendor/pygments-main/pygments/lexers/algebra.py +9 -13
- data/vendor/pygments-main/pygments/lexers/ambient.py +2 -3
- data/vendor/pygments-main/pygments/lexers/amdgpu.py +3 -3
- data/vendor/pygments-main/pygments/lexers/ampl.py +2 -3
- data/vendor/pygments-main/pygments/lexers/apdlexer.py +4 -3
- data/vendor/pygments-main/pygments/lexers/apl.py +2 -3
- data/vendor/pygments-main/pygments/lexers/archetype.py +8 -12
- data/vendor/pygments-main/pygments/lexers/arrow.py +2 -3
- data/vendor/pygments-main/pygments/lexers/arturo.py +2 -3
- data/vendor/pygments-main/pygments/lexers/asc.py +4 -4
- data/vendor/pygments-main/pygments/lexers/asm.py +28 -15
- data/vendor/pygments-main/pygments/lexers/asn1.py +178 -0
- data/vendor/pygments-main/pygments/lexers/automation.py +6 -8
- data/vendor/pygments-main/pygments/lexers/bare.py +2 -3
- data/vendor/pygments-main/pygments/lexers/basic.py +48 -57
- data/vendor/pygments-main/pygments/lexers/bdd.py +3 -4
- data/vendor/pygments-main/pygments/lexers/berry.py +4 -4
- data/vendor/pygments-main/pygments/lexers/bibtex.py +5 -5
- data/vendor/pygments-main/pygments/lexers/blueprint.py +173 -0
- data/vendor/pygments-main/pygments/lexers/boa.py +4 -4
- data/vendor/pygments-main/pygments/lexers/bqn.py +109 -0
- data/vendor/pygments-main/pygments/lexers/business.py +21 -22
- data/vendor/pygments-main/pygments/lexers/c_cpp.py +9 -4
- data/vendor/pygments-main/pygments/lexers/c_like.py +99 -27
- data/vendor/pygments-main/pygments/lexers/capnproto.py +2 -3
- data/vendor/pygments-main/pygments/lexers/carbon.py +10 -11
- data/vendor/pygments-main/pygments/lexers/cddl.py +8 -9
- data/vendor/pygments-main/pygments/lexers/chapel.py +2 -3
- data/vendor/pygments-main/pygments/lexers/clean.py +2 -1
- data/vendor/pygments-main/pygments/lexers/comal.py +2 -1
- data/vendor/pygments-main/pygments/lexers/compiled.py +2 -1
- data/vendor/pygments-main/pygments/lexers/configs.py +342 -108
- data/vendor/pygments-main/pygments/lexers/console.py +5 -5
- data/vendor/pygments-main/pygments/lexers/cplint.py +2 -3
- data/vendor/pygments-main/pygments/lexers/crystal.py +4 -5
- data/vendor/pygments-main/pygments/lexers/csound.py +6 -8
- data/vendor/pygments-main/pygments/lexers/css.py +5 -5
- data/vendor/pygments-main/pygments/lexers/d.py +4 -3
- data/vendor/pygments-main/pygments/lexers/dalvik.py +2 -3
- data/vendor/pygments-main/pygments/lexers/data.py +8 -12
- data/vendor/pygments-main/pygments/lexers/dax.py +2 -3
- data/vendor/pygments-main/pygments/lexers/devicetree.py +2 -3
- data/vendor/pygments-main/pygments/lexers/diff.py +7 -6
- data/vendor/pygments-main/pygments/lexers/dns.py +109 -0
- data/vendor/pygments-main/pygments/lexers/dotnet.py +19 -14
- data/vendor/pygments-main/pygments/lexers/dsls.py +24 -35
- data/vendor/pygments-main/pygments/lexers/dylan.py +8 -16
- data/vendor/pygments-main/pygments/lexers/ecl.py +2 -3
- data/vendor/pygments-main/pygments/lexers/eiffel.py +3 -4
- data/vendor/pygments-main/pygments/lexers/elm.py +3 -4
- data/vendor/pygments-main/pygments/lexers/elpi.py +28 -21
- data/vendor/pygments-main/pygments/lexers/email.py +3 -3
- data/vendor/pygments-main/pygments/lexers/erlang.py +22 -24
- data/vendor/pygments-main/pygments/lexers/esoteric.py +11 -12
- data/vendor/pygments-main/pygments/lexers/ezhil.py +2 -3
- data/vendor/pygments-main/pygments/lexers/factor.py +2 -3
- data/vendor/pygments-main/pygments/lexers/fantom.py +3 -3
- data/vendor/pygments-main/pygments/lexers/felix.py +9 -10
- data/vendor/pygments-main/pygments/lexers/fift.py +2 -1
- data/vendor/pygments-main/pygments/lexers/floscript.py +2 -3
- data/vendor/pygments-main/pygments/lexers/forth.py +2 -3
- data/vendor/pygments-main/pygments/lexers/fortran.py +6 -7
- data/vendor/pygments-main/pygments/lexers/foxpro.py +3 -3
- data/vendor/pygments-main/pygments/lexers/freefem.py +2 -3
- data/vendor/pygments-main/pygments/lexers/func.py +3 -1
- data/vendor/pygments-main/pygments/lexers/functional.py +2 -1
- data/vendor/pygments-main/pygments/lexers/futhark.py +6 -7
- data/vendor/pygments-main/pygments/lexers/gcodelexer.py +3 -3
- data/vendor/pygments-main/pygments/lexers/gdscript.py +2 -1
- data/vendor/pygments-main/pygments/lexers/go.py +3 -4
- data/vendor/pygments-main/pygments/lexers/grammar_notation.py +6 -9
- data/vendor/pygments-main/pygments/lexers/graph.py +12 -9
- data/vendor/pygments-main/pygments/lexers/graphics.py +13 -17
- data/vendor/pygments-main/pygments/lexers/graphql.py +176 -0
- data/vendor/pygments-main/pygments/lexers/graphviz.py +2 -3
- data/vendor/pygments-main/pygments/lexers/gsql.py +2 -3
- data/vendor/pygments-main/pygments/lexers/haskell.py +27 -32
- data/vendor/pygments-main/pygments/lexers/haxe.py +3 -5
- data/vendor/pygments-main/pygments/lexers/hdl.py +8 -7
- data/vendor/pygments-main/pygments/lexers/hexdump.py +3 -3
- data/vendor/pygments-main/pygments/lexers/html.py +34 -13
- data/vendor/pygments-main/pygments/lexers/idl.py +2 -3
- data/vendor/pygments-main/pygments/lexers/igor.py +305 -290
- data/vendor/pygments-main/pygments/lexers/inferno.py +2 -3
- data/vendor/pygments-main/pygments/lexers/installers.py +7 -9
- data/vendor/pygments-main/pygments/lexers/int_fiction.py +150 -162
- data/vendor/pygments-main/pygments/lexers/iolang.py +2 -3
- data/vendor/pygments-main/pygments/lexers/j.py +2 -3
- data/vendor/pygments-main/pygments/lexers/javascript.py +18 -19
- data/vendor/pygments-main/pygments/lexers/jmespath.py +2 -1
- data/vendor/pygments-main/pygments/lexers/jslt.py +2 -3
- data/vendor/pygments-main/pygments/lexers/jsonnet.py +4 -3
- data/vendor/pygments-main/pygments/lexers/jsx.py +75 -0
- data/vendor/pygments-main/pygments/lexers/julia.py +4 -5
- data/vendor/pygments-main/pygments/lexers/jvm.py +98 -116
- data/vendor/pygments-main/pygments/lexers/kuin.py +2 -3
- data/vendor/pygments-main/pygments/lexers/kusto.py +93 -0
- data/vendor/pygments-main/pygments/lexers/ldap.py +155 -0
- data/vendor/pygments-main/pygments/lexers/lean.py +241 -0
- data/vendor/pygments-main/pygments/lexers/lilypond.py +2 -3
- data/vendor/pygments-main/pygments/lexers/lisp.py +373 -65
- data/vendor/pygments-main/pygments/lexers/macaulay2.py +53 -4
- data/vendor/pygments-main/pygments/lexers/make.py +7 -5
- data/vendor/pygments-main/pygments/lexers/markup.py +242 -91
- data/vendor/pygments-main/pygments/lexers/math.py +2 -1
- data/vendor/pygments-main/pygments/lexers/matlab.py +10 -12
- data/vendor/pygments-main/pygments/lexers/maxima.py +2 -3
- data/vendor/pygments-main/pygments/lexers/meson.py +2 -3
- data/vendor/pygments-main/pygments/lexers/mime.py +4 -4
- data/vendor/pygments-main/pygments/lexers/minecraft.py +24 -27
- data/vendor/pygments-main/pygments/lexers/mips.py +3 -1
- data/vendor/pygments-main/pygments/lexers/ml.py +59 -61
- data/vendor/pygments-main/pygments/lexers/modeling.py +19 -22
- data/vendor/pygments-main/pygments/lexers/modula2.py +2 -3
- data/vendor/pygments-main/pygments/lexers/mojo.py +704 -0
- data/vendor/pygments-main/pygments/lexers/monte.py +2 -3
- data/vendor/pygments-main/pygments/lexers/mosel.py +3 -3
- data/vendor/pygments-main/pygments/lexers/ncl.py +4 -3
- data/vendor/pygments-main/pygments/lexers/nimrod.py +7 -8
- data/vendor/pygments-main/pygments/lexers/nit.py +2 -3
- data/vendor/pygments-main/pygments/lexers/nix.py +40 -31
- data/vendor/pygments-main/pygments/lexers/oberon.py +3 -3
- data/vendor/pygments-main/pygments/lexers/objective.py +14 -6
- data/vendor/pygments-main/pygments/lexers/ooc.py +2 -3
- data/vendor/pygments-main/pygments/lexers/openscad.py +96 -0
- data/vendor/pygments-main/pygments/lexers/other.py +2 -1
- data/vendor/pygments-main/pygments/lexers/parasail.py +2 -3
- data/vendor/pygments-main/pygments/lexers/parsers.py +41 -44
- data/vendor/pygments-main/pygments/lexers/pascal.py +6 -3
- data/vendor/pygments-main/pygments/lexers/pawn.py +5 -5
- data/vendor/pygments-main/pygments/lexers/perl.py +3 -3
- data/vendor/pygments-main/pygments/lexers/phix.py +2 -3
- data/vendor/pygments-main/pygments/lexers/php.py +4 -5
- data/vendor/pygments-main/pygments/lexers/pointless.py +2 -3
- data/vendor/pygments-main/pygments/lexers/pony.py +3 -3
- data/vendor/pygments-main/pygments/lexers/praat.py +2 -3
- data/vendor/pygments-main/pygments/lexers/procfile.py +2 -3
- data/vendor/pygments-main/pygments/lexers/prolog.py +23 -9
- data/vendor/pygments-main/pygments/lexers/promql.py +2 -1
- data/vendor/pygments-main/pygments/lexers/prql.py +251 -0
- data/vendor/pygments-main/pygments/lexers/ptx.py +119 -0
- data/vendor/pygments-main/pygments/lexers/python.py +24 -24
- data/vendor/pygments-main/pygments/lexers/q.py +5 -6
- data/vendor/pygments-main/pygments/lexers/qlik.py +3 -3
- data/vendor/pygments-main/pygments/lexers/qvt.py +5 -3
- data/vendor/pygments-main/pygments/lexers/r.py +8 -6
- data/vendor/pygments-main/pygments/lexers/rdf.py +19 -13
- data/vendor/pygments-main/pygments/lexers/rebol.py +7 -7
- data/vendor/pygments-main/pygments/lexers/resource.py +5 -6
- data/vendor/pygments-main/pygments/lexers/ride.py +4 -5
- data/vendor/pygments-main/pygments/lexers/rita.py +2 -3
- data/vendor/pygments-main/pygments/lexers/rnc.py +2 -3
- data/vendor/pygments-main/pygments/lexers/roboconf.py +5 -5
- data/vendor/pygments-main/pygments/lexers/robotframework.py +2 -3
- data/vendor/pygments-main/pygments/lexers/ruby.py +8 -13
- data/vendor/pygments-main/pygments/lexers/rust.py +9 -10
- data/vendor/pygments-main/pygments/lexers/sas.py +3 -3
- data/vendor/pygments-main/pygments/lexers/savi.py +131 -130
- data/vendor/pygments-main/pygments/lexers/scdoc.py +13 -7
- data/vendor/pygments-main/pygments/lexers/scripting.py +354 -42
- data/vendor/pygments-main/pygments/lexers/sgf.py +2 -3
- data/vendor/pygments-main/pygments/lexers/shell.py +107 -129
- data/vendor/pygments-main/pygments/lexers/sieve.py +3 -3
- data/vendor/pygments-main/pygments/lexers/slash.py +4 -5
- data/vendor/pygments-main/pygments/lexers/smalltalk.py +3 -5
- data/vendor/pygments-main/pygments/lexers/smithy.py +2 -3
- data/vendor/pygments-main/pygments/lexers/smv.py +3 -3
- data/vendor/pygments-main/pygments/lexers/snobol.py +3 -3
- data/vendor/pygments-main/pygments/lexers/solidity.py +3 -3
- data/vendor/pygments-main/pygments/lexers/soong.py +78 -0
- data/vendor/pygments-main/pygments/lexers/sophia.py +3 -4
- data/vendor/pygments-main/pygments/lexers/special.py +8 -3
- data/vendor/pygments-main/pygments/lexers/spice.py +15 -16
- data/vendor/pygments-main/pygments/lexers/sql.py +24 -18
- data/vendor/pygments-main/pygments/lexers/srcinfo.py +3 -3
- data/vendor/pygments-main/pygments/lexers/stata.py +2 -3
- data/vendor/pygments-main/pygments/lexers/supercollider.py +2 -3
- data/vendor/pygments-main/pygments/lexers/tact.py +303 -0
- data/vendor/pygments-main/pygments/lexers/tal.py +13 -10
- data/vendor/pygments-main/pygments/lexers/tcl.py +2 -3
- data/vendor/pygments-main/pygments/lexers/teal.py +2 -3
- data/vendor/pygments-main/pygments/lexers/templates.py +131 -72
- data/vendor/pygments-main/pygments/lexers/teraterm.py +2 -3
- data/vendor/pygments-main/pygments/lexers/testing.py +4 -5
- data/vendor/pygments-main/pygments/lexers/text.py +2 -1
- data/vendor/pygments-main/pygments/lexers/textedit.py +9 -6
- data/vendor/pygments-main/pygments/lexers/textfmts.py +20 -15
- data/vendor/pygments-main/pygments/lexers/theorem.py +41 -115
- data/vendor/pygments-main/pygments/lexers/thingsdb.py +50 -26
- data/vendor/pygments-main/pygments/lexers/tlb.py +3 -1
- data/vendor/pygments-main/pygments/lexers/tls.py +54 -0
- data/vendor/pygments-main/pygments/lexers/tnt.py +2 -3
- data/vendor/pygments-main/pygments/lexers/trafficscript.py +3 -3
- data/vendor/pygments-main/pygments/lexers/typoscript.py +6 -7
- data/vendor/pygments-main/pygments/lexers/typst.py +104 -0
- data/vendor/pygments-main/pygments/lexers/ul4.py +47 -5
- data/vendor/pygments-main/pygments/lexers/unicon.py +9 -7
- data/vendor/pygments-main/pygments/lexers/urbi.py +3 -3
- data/vendor/pygments-main/pygments/lexers/usd.py +6 -11
- data/vendor/pygments-main/pygments/lexers/varnish.py +5 -5
- data/vendor/pygments-main/pygments/lexers/verification.py +4 -5
- data/vendor/pygments-main/pygments/lexers/verifpal.py +65 -0
- data/vendor/pygments-main/pygments/lexers/vip.py +150 -0
- data/vendor/pygments-main/pygments/lexers/vyper.py +140 -0
- data/vendor/pygments-main/pygments/lexers/web.py +2 -1
- data/vendor/pygments-main/pygments/lexers/webassembly.py +2 -3
- data/vendor/pygments-main/pygments/lexers/webidl.py +2 -3
- data/vendor/pygments-main/pygments/lexers/webmisc.py +11 -15
- data/vendor/pygments-main/pygments/lexers/wgsl.py +6 -7
- data/vendor/pygments-main/pygments/lexers/whiley.py +2 -3
- data/vendor/pygments-main/pygments/lexers/wowtoc.py +3 -3
- data/vendor/pygments-main/pygments/lexers/wren.py +3 -4
- data/vendor/pygments-main/pygments/lexers/x10.py +6 -7
- data/vendor/pygments-main/pygments/lexers/xorg.py +2 -1
- data/vendor/pygments-main/pygments/lexers/yang.py +2 -3
- data/vendor/pygments-main/pygments/lexers/yara.py +69 -0
- data/vendor/pygments-main/pygments/lexers/zig.py +2 -1
- data/vendor/pygments-main/pygments/modeline.py +4 -4
- data/vendor/pygments-main/pygments/plugin.py +3 -19
- data/vendor/pygments-main/pygments/regexopt.py +1 -1
- data/vendor/pygments-main/pygments/scanner.py +1 -1
- data/vendor/pygments-main/pygments/sphinxext.py +38 -8
- data/vendor/pygments-main/pygments/style.py +8 -2
- data/vendor/pygments-main/pygments/styles/__init__.py +17 -59
- data/vendor/pygments-main/pygments/styles/_mapping.py +54 -0
- data/vendor/pygments-main/pygments/styles/abap.py +5 -1
- data/vendor/pygments-main/pygments/styles/algol.py +5 -1
- data/vendor/pygments-main/pygments/styles/algol_nu.py +5 -1
- data/vendor/pygments-main/pygments/styles/arduino.py +76 -72
- data/vendor/pygments-main/pygments/styles/autumn.py +6 -1
- data/vendor/pygments-main/pygments/styles/borland.py +6 -1
- data/vendor/pygments-main/pygments/styles/bw.py +6 -1
- data/vendor/pygments-main/pygments/styles/coffee.py +80 -0
- data/vendor/pygments-main/pygments/styles/colorful.py +6 -1
- data/vendor/pygments-main/pygments/styles/default.py +6 -1
- data/vendor/pygments-main/pygments/styles/dracula.py +68 -80
- data/vendor/pygments-main/pygments/styles/emacs.py +6 -1
- data/vendor/pygments-main/pygments/styles/friendly.py +6 -1
- data/vendor/pygments-main/pygments/styles/friendly_grayscale.py +6 -1
- data/vendor/pygments-main/pygments/styles/fruity.py +7 -1
- data/vendor/pygments-main/pygments/styles/gh_dark.py +7 -1
- data/vendor/pygments-main/pygments/styles/gruvbox.py +10 -1
- data/vendor/pygments-main/pygments/styles/igor.py +6 -1
- data/vendor/pygments-main/pygments/styles/inkpot.py +7 -2
- data/vendor/pygments-main/pygments/styles/lightbulb.py +110 -0
- data/vendor/pygments-main/pygments/styles/lilypond.py +8 -2
- data/vendor/pygments-main/pygments/styles/lovelace.py +16 -10
- data/vendor/pygments-main/pygments/styles/manni.py +7 -2
- data/vendor/pygments-main/pygments/styles/material.py +21 -14
- data/vendor/pygments-main/pygments/styles/monokai.py +16 -10
- data/vendor/pygments-main/pygments/styles/murphy.py +7 -2
- data/vendor/pygments-main/pygments/styles/native.py +10 -5
- data/vendor/pygments-main/pygments/styles/nord.py +9 -3
- data/vendor/pygments-main/pygments/styles/onedark.py +6 -2
- data/vendor/pygments-main/pygments/styles/paraiso_dark.py +7 -2
- data/vendor/pygments-main/pygments/styles/paraiso_light.py +7 -2
- data/vendor/pygments-main/pygments/styles/pastie.py +7 -1
- data/vendor/pygments-main/pygments/styles/perldoc.py +7 -1
- data/vendor/pygments-main/pygments/styles/rainbow_dash.py +26 -19
- data/vendor/pygments-main/pygments/styles/rrt.py +8 -2
- data/vendor/pygments-main/pygments/styles/sas.py +6 -1
- data/vendor/pygments-main/pygments/styles/solarized.py +9 -1
- data/vendor/pygments-main/pygments/styles/staroffice.py +6 -1
- data/vendor/pygments-main/pygments/styles/stata_dark.py +6 -2
- data/vendor/pygments-main/pygments/styles/stata_light.py +6 -1
- data/vendor/pygments-main/pygments/styles/tango.py +7 -3
- data/vendor/pygments-main/pygments/styles/trac.py +7 -1
- data/vendor/pygments-main/pygments/styles/vim.py +7 -1
- data/vendor/pygments-main/pygments/styles/vs.py +7 -2
- data/vendor/pygments-main/pygments/styles/xcode.py +6 -1
- data/vendor/pygments-main/pygments/styles/zenburn.py +6 -1
- data/vendor/pygments-main/pygments/token.py +2 -1
- data/vendor/pygments-main/pygments/unistring.py +5 -5
- data/vendor/pygments-main/pygments/util.py +13 -19
- data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info}/METADATA +14 -13
- data/vendor/pygments-main/pygments-2.18.0.dist-info/RECORD +663 -0
- data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info}/WHEEL +1 -2
- data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info/licenses}/AUTHORS +13 -0
- metadata +41 -17
- data/vendor/pygments-main/Pygments-2.15.1.dist-info/RECORD +0 -614
- data/vendor/pygments-main/Pygments-2.15.1.dist-info/top_level.txt +0 -1
- /data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info}/INSTALLER +0 -0
- /data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info}/REQUESTED +0 -0
- /data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info}/entry_points.txt +0 -0
- /data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info/licenses}/LICENSE +0 -0
data/vendor/pygments-main/{Pygments-2.15.1.dist-info → pygments-2.18.0.dist-info/licenses}/AUTHORS
RENAMED
@@ -13,6 +13,7 @@ Other contributors, listed alphabetically, are:
|
|
13
13
|
lexers
|
14
14
|
* Maxence Ahlouche -- PostgreSQL Explain lexer
|
15
15
|
* Muthiah Annamalai -- Ezhil lexer
|
16
|
+
* Nikolay Antipov -- OpenSCAD lexer
|
16
17
|
* Kumar Appaiah -- Debian control lexer
|
17
18
|
* Andreas Amann -- AppleScript lexer
|
18
19
|
* Timothy Armstrong -- Dart lexer fixes
|
@@ -30,6 +31,7 @@ Other contributors, listed alphabetically, are:
|
|
30
31
|
* Michael Bayer -- Myghty lexers
|
31
32
|
* Thomas Beale -- Archetype lexers
|
32
33
|
* John Benediktsson -- Factor lexer
|
34
|
+
* David Benjamin, Google LLC -- TLS lexer
|
33
35
|
* Trevor Bergeron -- mIRC formatter
|
34
36
|
* Vincent Bernat -- LessCSS lexer
|
35
37
|
* Christopher Bertels -- Fancy lexer
|
@@ -44,9 +46,11 @@ Other contributors, listed alphabetically, are:
|
|
44
46
|
* chebee7i -- Python traceback lexer improvements
|
45
47
|
* Hiram Chirino -- Scaml and Jade lexers
|
46
48
|
* Mauricio Caceres -- SAS and Stata lexers.
|
49
|
+
* Michael Camilleri, John Gabriele, sogaiu -- Janet lexer
|
47
50
|
* Ian Cooper -- VGL lexer
|
48
51
|
* David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers
|
49
52
|
* Leaf Corcoran -- MoonScript lexer
|
53
|
+
* Gabriel Corona -- ASN.1 lexer
|
50
54
|
* Christopher Creutzig -- MuPAD lexer
|
51
55
|
* Daniël W. Crompton -- Pike lexer
|
52
56
|
* Pete Curry -- bugfixes
|
@@ -112,6 +116,8 @@ Other contributors, listed alphabetically, are:
|
|
112
116
|
MSDOS session, BC, WDiff
|
113
117
|
* Brian R. Jackson -- Tea lexer
|
114
118
|
* Christian Jann -- ShellSession lexer
|
119
|
+
* Jonas Camillus Jeppesen -- Line numbers and line highlighting for
|
120
|
+
RTF-formatter
|
115
121
|
* Dennis Kaarsemaker -- sources.list lexer
|
116
122
|
* Dmitri Kabak -- Inferno Limbo lexer
|
117
123
|
* Igor Kalnitsky -- vhdl lexer
|
@@ -137,6 +143,7 @@ Other contributors, listed alphabetically, are:
|
|
137
143
|
* Sylvestre Ledru -- Scilab lexer
|
138
144
|
* Chee Sing Lee -- Flatline lexer
|
139
145
|
* Mark Lee -- Vala lexer
|
146
|
+
* Thomas Linder Puls -- Visual Prolog lexer
|
140
147
|
* Pete Lomax -- Phix lexer
|
141
148
|
* Valentin Lorentz -- C++ lexer improvements
|
142
149
|
* Ben Mabey -- Gherkin lexer
|
@@ -191,6 +198,7 @@ Other contributors, listed alphabetically, are:
|
|
191
198
|
* Kashif Rasul -- CUDA lexer
|
192
199
|
* Nathan Reed -- HLSL lexer
|
193
200
|
* Justin Reidy -- MXML lexer
|
201
|
+
* Jonathon Reinhart, Google LLC -- Soong lexer
|
194
202
|
* Norman Richards -- JSON lexer
|
195
203
|
* Corey Richardson -- Rust lexer updates
|
196
204
|
* Fabrizio Riguzzi -- cplint leder
|
@@ -237,6 +245,7 @@ Other contributors, listed alphabetically, are:
|
|
237
245
|
* Erick Tryzelaar -- Felix lexer
|
238
246
|
* Alexander Udalov -- Kotlin lexer improvements
|
239
247
|
* Thomas Van Doren -- Chapel lexer
|
248
|
+
* Dave Van Ee -- Uxntal lexer updates
|
240
249
|
* Daniele Varrazzo -- PostgreSQL lexers
|
241
250
|
* Abe Voelker -- OpenEdge ABL lexer
|
242
251
|
* Pepijn de Vos -- HTML formatter CTags support
|
@@ -266,5 +275,9 @@ Other contributors, listed alphabetically, are:
|
|
266
275
|
* Marc Auberer -- Spice lexer
|
267
276
|
* Amr Hesham -- Carbon lexer
|
268
277
|
* diskdance -- Wikitext lexer
|
278
|
+
* vanillajonathan -- PRQL lexer
|
279
|
+
* Nikolay Antipov -- OpenSCAD lexer
|
280
|
+
* Markus Meyer, Nextron Systems -- YARA lexer
|
281
|
+
* Hannes Römer -- Mojo lexer
|
269
282
|
|
270
283
|
Many thanks for all contributions!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pygments.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 13.
|
21
|
+
version: 13.2.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 13.
|
28
|
+
version: 13.2.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rubocop
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -46,14 +46,14 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 3.
|
49
|
+
version: 3.6.0
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 3.
|
56
|
+
version: 3.6.0
|
57
57
|
description: pygments.rb is a Ruby wrapper for Pygments syntax highlighter
|
58
58
|
email:
|
59
59
|
- marat@slonopotamus.org
|
@@ -79,16 +79,15 @@ files:
|
|
79
79
|
- lib/pygments/version.rb
|
80
80
|
- pygments.rb.gemspec
|
81
81
|
- test/test_pygments.rb
|
82
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/AUTHORS
|
83
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/INSTALLER
|
84
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/LICENSE
|
85
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/METADATA
|
86
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/RECORD
|
87
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/REQUESTED
|
88
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/WHEEL
|
89
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/entry_points.txt
|
90
|
-
- vendor/pygments-main/Pygments-2.15.1.dist-info/top_level.txt
|
91
82
|
- vendor/pygments-main/bin/pygmentize
|
83
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/INSTALLER
|
84
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/METADATA
|
85
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/RECORD
|
86
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/REQUESTED
|
87
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/WHEEL
|
88
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/entry_points.txt
|
89
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/licenses/AUTHORS
|
90
|
+
- vendor/pygments-main/pygments-2.18.0.dist-info/licenses/LICENSE
|
92
91
|
- vendor/pygments-main/pygments/__init__.py
|
93
92
|
- vendor/pygments-main/pygments/__main__.py
|
94
93
|
- vendor/pygments-main/pygments/cmdline.py
|
@@ -122,6 +121,7 @@ files:
|
|
122
121
|
- vendor/pygments-main/pygments/lexers/_lasso_builtins.py
|
123
122
|
- vendor/pygments-main/pygments/lexers/_lilypond_builtins.py
|
124
123
|
- vendor/pygments-main/pygments/lexers/_lua_builtins.py
|
124
|
+
- vendor/pygments-main/pygments/lexers/_luau_builtins.py
|
125
125
|
- vendor/pygments-main/pygments/lexers/_mapping.py
|
126
126
|
- vendor/pygments-main/pygments/lexers/_mql_builtins.py
|
127
127
|
- vendor/pygments-main/pygments/lexers/_mysql_builtins.py
|
@@ -152,13 +152,16 @@ files:
|
|
152
152
|
- vendor/pygments-main/pygments/lexers/arturo.py
|
153
153
|
- vendor/pygments-main/pygments/lexers/asc.py
|
154
154
|
- vendor/pygments-main/pygments/lexers/asm.py
|
155
|
+
- vendor/pygments-main/pygments/lexers/asn1.py
|
155
156
|
- vendor/pygments-main/pygments/lexers/automation.py
|
156
157
|
- vendor/pygments-main/pygments/lexers/bare.py
|
157
158
|
- vendor/pygments-main/pygments/lexers/basic.py
|
158
159
|
- vendor/pygments-main/pygments/lexers/bdd.py
|
159
160
|
- vendor/pygments-main/pygments/lexers/berry.py
|
160
161
|
- vendor/pygments-main/pygments/lexers/bibtex.py
|
162
|
+
- vendor/pygments-main/pygments/lexers/blueprint.py
|
161
163
|
- vendor/pygments-main/pygments/lexers/boa.py
|
164
|
+
- vendor/pygments-main/pygments/lexers/bqn.py
|
162
165
|
- vendor/pygments-main/pygments/lexers/business.py
|
163
166
|
- vendor/pygments-main/pygments/lexers/c_cpp.py
|
164
167
|
- vendor/pygments-main/pygments/lexers/c_like.py
|
@@ -181,6 +184,7 @@ files:
|
|
181
184
|
- vendor/pygments-main/pygments/lexers/dax.py
|
182
185
|
- vendor/pygments-main/pygments/lexers/devicetree.py
|
183
186
|
- vendor/pygments-main/pygments/lexers/diff.py
|
187
|
+
- vendor/pygments-main/pygments/lexers/dns.py
|
184
188
|
- vendor/pygments-main/pygments/lexers/dotnet.py
|
185
189
|
- vendor/pygments-main/pygments/lexers/dsls.py
|
186
190
|
- vendor/pygments-main/pygments/lexers/dylan.py
|
@@ -210,6 +214,7 @@ files:
|
|
210
214
|
- vendor/pygments-main/pygments/lexers/grammar_notation.py
|
211
215
|
- vendor/pygments-main/pygments/lexers/graph.py
|
212
216
|
- vendor/pygments-main/pygments/lexers/graphics.py
|
217
|
+
- vendor/pygments-main/pygments/lexers/graphql.py
|
213
218
|
- vendor/pygments-main/pygments/lexers/graphviz.py
|
214
219
|
- vendor/pygments-main/pygments/lexers/gsql.py
|
215
220
|
- vendor/pygments-main/pygments/lexers/haskell.py
|
@@ -228,9 +233,13 @@ files:
|
|
228
233
|
- vendor/pygments-main/pygments/lexers/jmespath.py
|
229
234
|
- vendor/pygments-main/pygments/lexers/jslt.py
|
230
235
|
- vendor/pygments-main/pygments/lexers/jsonnet.py
|
236
|
+
- vendor/pygments-main/pygments/lexers/jsx.py
|
231
237
|
- vendor/pygments-main/pygments/lexers/julia.py
|
232
238
|
- vendor/pygments-main/pygments/lexers/jvm.py
|
233
239
|
- vendor/pygments-main/pygments/lexers/kuin.py
|
240
|
+
- vendor/pygments-main/pygments/lexers/kusto.py
|
241
|
+
- vendor/pygments-main/pygments/lexers/ldap.py
|
242
|
+
- vendor/pygments-main/pygments/lexers/lean.py
|
234
243
|
- vendor/pygments-main/pygments/lexers/lilypond.py
|
235
244
|
- vendor/pygments-main/pygments/lexers/lisp.py
|
236
245
|
- vendor/pygments-main/pygments/lexers/macaulay2.py
|
@@ -246,6 +255,7 @@ files:
|
|
246
255
|
- vendor/pygments-main/pygments/lexers/ml.py
|
247
256
|
- vendor/pygments-main/pygments/lexers/modeling.py
|
248
257
|
- vendor/pygments-main/pygments/lexers/modula2.py
|
258
|
+
- vendor/pygments-main/pygments/lexers/mojo.py
|
249
259
|
- vendor/pygments-main/pygments/lexers/monte.py
|
250
260
|
- vendor/pygments-main/pygments/lexers/mosel.py
|
251
261
|
- vendor/pygments-main/pygments/lexers/ncl.py
|
@@ -255,6 +265,7 @@ files:
|
|
255
265
|
- vendor/pygments-main/pygments/lexers/oberon.py
|
256
266
|
- vendor/pygments-main/pygments/lexers/objective.py
|
257
267
|
- vendor/pygments-main/pygments/lexers/ooc.py
|
268
|
+
- vendor/pygments-main/pygments/lexers/openscad.py
|
258
269
|
- vendor/pygments-main/pygments/lexers/other.py
|
259
270
|
- vendor/pygments-main/pygments/lexers/parasail.py
|
260
271
|
- vendor/pygments-main/pygments/lexers/parsers.py
|
@@ -269,6 +280,8 @@ files:
|
|
269
280
|
- vendor/pygments-main/pygments/lexers/procfile.py
|
270
281
|
- vendor/pygments-main/pygments/lexers/prolog.py
|
271
282
|
- vendor/pygments-main/pygments/lexers/promql.py
|
283
|
+
- vendor/pygments-main/pygments/lexers/prql.py
|
284
|
+
- vendor/pygments-main/pygments/lexers/ptx.py
|
272
285
|
- vendor/pygments-main/pygments/lexers/python.py
|
273
286
|
- vendor/pygments-main/pygments/lexers/q.py
|
274
287
|
- vendor/pygments-main/pygments/lexers/qlik.py
|
@@ -297,6 +310,7 @@ files:
|
|
297
310
|
- vendor/pygments-main/pygments/lexers/smv.py
|
298
311
|
- vendor/pygments-main/pygments/lexers/snobol.py
|
299
312
|
- vendor/pygments-main/pygments/lexers/solidity.py
|
313
|
+
- vendor/pygments-main/pygments/lexers/soong.py
|
300
314
|
- vendor/pygments-main/pygments/lexers/sophia.py
|
301
315
|
- vendor/pygments-main/pygments/lexers/special.py
|
302
316
|
- vendor/pygments-main/pygments/lexers/spice.py
|
@@ -304,6 +318,7 @@ files:
|
|
304
318
|
- vendor/pygments-main/pygments/lexers/srcinfo.py
|
305
319
|
- vendor/pygments-main/pygments/lexers/stata.py
|
306
320
|
- vendor/pygments-main/pygments/lexers/supercollider.py
|
321
|
+
- vendor/pygments-main/pygments/lexers/tact.py
|
307
322
|
- vendor/pygments-main/pygments/lexers/tal.py
|
308
323
|
- vendor/pygments-main/pygments/lexers/tcl.py
|
309
324
|
- vendor/pygments-main/pygments/lexers/teal.py
|
@@ -316,15 +331,20 @@ files:
|
|
316
331
|
- vendor/pygments-main/pygments/lexers/theorem.py
|
317
332
|
- vendor/pygments-main/pygments/lexers/thingsdb.py
|
318
333
|
- vendor/pygments-main/pygments/lexers/tlb.py
|
334
|
+
- vendor/pygments-main/pygments/lexers/tls.py
|
319
335
|
- vendor/pygments-main/pygments/lexers/tnt.py
|
320
336
|
- vendor/pygments-main/pygments/lexers/trafficscript.py
|
321
337
|
- vendor/pygments-main/pygments/lexers/typoscript.py
|
338
|
+
- vendor/pygments-main/pygments/lexers/typst.py
|
322
339
|
- vendor/pygments-main/pygments/lexers/ul4.py
|
323
340
|
- vendor/pygments-main/pygments/lexers/unicon.py
|
324
341
|
- vendor/pygments-main/pygments/lexers/urbi.py
|
325
342
|
- vendor/pygments-main/pygments/lexers/usd.py
|
326
343
|
- vendor/pygments-main/pygments/lexers/varnish.py
|
327
344
|
- vendor/pygments-main/pygments/lexers/verification.py
|
345
|
+
- vendor/pygments-main/pygments/lexers/verifpal.py
|
346
|
+
- vendor/pygments-main/pygments/lexers/vip.py
|
347
|
+
- vendor/pygments-main/pygments/lexers/vyper.py
|
328
348
|
- vendor/pygments-main/pygments/lexers/web.py
|
329
349
|
- vendor/pygments-main/pygments/lexers/webassembly.py
|
330
350
|
- vendor/pygments-main/pygments/lexers/webidl.py
|
@@ -336,6 +356,7 @@ files:
|
|
336
356
|
- vendor/pygments-main/pygments/lexers/x10.py
|
337
357
|
- vendor/pygments-main/pygments/lexers/xorg.py
|
338
358
|
- vendor/pygments-main/pygments/lexers/yang.py
|
359
|
+
- vendor/pygments-main/pygments/lexers/yara.py
|
339
360
|
- vendor/pygments-main/pygments/lexers/zig.py
|
340
361
|
- vendor/pygments-main/pygments/modeline.py
|
341
362
|
- vendor/pygments-main/pygments/plugin.py
|
@@ -344,6 +365,7 @@ files:
|
|
344
365
|
- vendor/pygments-main/pygments/sphinxext.py
|
345
366
|
- vendor/pygments-main/pygments/style.py
|
346
367
|
- vendor/pygments-main/pygments/styles/__init__.py
|
368
|
+
- vendor/pygments-main/pygments/styles/_mapping.py
|
347
369
|
- vendor/pygments-main/pygments/styles/abap.py
|
348
370
|
- vendor/pygments-main/pygments/styles/algol.py
|
349
371
|
- vendor/pygments-main/pygments/styles/algol_nu.py
|
@@ -351,6 +373,7 @@ files:
|
|
351
373
|
- vendor/pygments-main/pygments/styles/autumn.py
|
352
374
|
- vendor/pygments-main/pygments/styles/borland.py
|
353
375
|
- vendor/pygments-main/pygments/styles/bw.py
|
376
|
+
- vendor/pygments-main/pygments/styles/coffee.py
|
354
377
|
- vendor/pygments-main/pygments/styles/colorful.py
|
355
378
|
- vendor/pygments-main/pygments/styles/default.py
|
356
379
|
- vendor/pygments-main/pygments/styles/dracula.py
|
@@ -362,6 +385,7 @@ files:
|
|
362
385
|
- vendor/pygments-main/pygments/styles/gruvbox.py
|
363
386
|
- vendor/pygments-main/pygments/styles/igor.py
|
364
387
|
- vendor/pygments-main/pygments/styles/inkpot.py
|
388
|
+
- vendor/pygments-main/pygments/styles/lightbulb.py
|
365
389
|
- vendor/pygments-main/pygments/styles/lilypond.py
|
366
390
|
- vendor/pygments-main/pygments/styles/lovelace.py
|
367
391
|
- vendor/pygments-main/pygments/styles/manni.py
|
@@ -408,14 +432,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
408
432
|
requirements:
|
409
433
|
- - ">="
|
410
434
|
- !ruby/object:Gem::Version
|
411
|
-
version: 2.
|
435
|
+
version: 2.6.0
|
412
436
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
413
437
|
requirements:
|
414
438
|
- - ">="
|
415
439
|
- !ruby/object:Gem::Version
|
416
440
|
version: '0'
|
417
441
|
requirements: []
|
418
|
-
rubygems_version: 3.
|
442
|
+
rubygems_version: 3.5.9
|
419
443
|
signing_key:
|
420
444
|
specification_version: 4
|
421
445
|
summary: pygments wrapper for ruby
|