Skip to content

Commit cffc5a5

Browse files
authored
resolves #249 update Pygments to 2.15.1 (#251)
1 parent fe03c27 commit cffc5a5

File tree

316 files changed

+6287
-2503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+6287
-2503
lines changed

CHANGELOG.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For a detailed view of what has changed, refer to the {uri-repo}/commits/master[
77

88
== Unreleased
99

10-
* Update Pygments to 2.13.0
10+
* Update Pygments to 2.15.1
1111

1212
== 2.3.1 (2022-12-04) - @slonopotamus
1313

test/test_pygments.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ def test_highlight_defaults_to_html
2020
assert_equal '<div class', code[0..9]
2121
end
2222

23-
def test_full_html_highlight
24-
code = P.highlight(RUBY_CODE)
25-
assert_match '<span class="ch">#!/usr/bin/ruby</span>', code
26-
assert_equal %(<div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/ruby</span>
27-
<span class="nb">puts</span> <span class="s1">&#39;foo&#39;</span>
28-
</pre></div>), code
29-
end
30-
3123
def test_highlight_works_with_larger_files
3224
code = P.highlight(TEST_CODE)
3325
assert_match 'Main loop, waiting for inputs on stdin', code

vendor/pygments-main/Pygments-2.13.0.dist-info/RECORD

Lines changed: 0 additions & 590 deletions
This file was deleted.

vendor/pygments-main/Pygments-2.13.0.dist-info/AUTHORS renamed to vendor/pygments-main/Pygments-2.15.1.dist-info/AUTHORS

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Other contributors, listed alphabetically, are:
1111
* Ali Afshar -- image formatter
1212
* Thomas Aglassinger -- Easytrieve, JCL, Rexx, Transact-SQL and VBScript
1313
lexers
14+
* Maxence Ahlouche -- PostgreSQL Explain lexer
1415
* Muthiah Annamalai -- Ezhil lexer
1516
* Kumar Appaiah -- Debian control lexer
1617
* Andreas Amann -- AppleScript lexer
@@ -136,12 +137,14 @@ Other contributors, listed alphabetically, are:
136137
* Sylvestre Ledru -- Scilab lexer
137138
* Chee Sing Lee -- Flatline lexer
138139
* Mark Lee -- Vala lexer
140+
* Pete Lomax -- Phix lexer
139141
* Valentin Lorentz -- C++ lexer improvements
140142
* Ben Mabey -- Gherkin lexer
141143
* Angus MacArthur -- QML lexer
142144
* Louis Mandel -- X10 lexer
143145
* Louis Marchand -- Eiffel lexer
144146
* Simone Margaritelli -- Hybris lexer
147+
* Tim Martin - World of Warcraft TOC lexer
145148
* Kirk McDonald -- D lexer
146149
* Gordon McGregor -- SystemVerilog lexer
147150
* Stephen McKamey -- Duel/JBST lexer
@@ -160,7 +163,9 @@ Other contributors, listed alphabetically, are:
160163
* Paulo Moura -- Logtalk lexer
161164
* Mher Movsisyan -- DTD lexer
162165
* Dejan Muhamedagic -- Crmsh lexer
166+
* Adrien Nayrat -- PostgreSQL Explain lexer
163167
* Ana Nelson -- Ragel, ANTLR, R console lexers
168+
* David Neto, Google LLC -- WebGPU Shading Language lexer
164169
* Kurt Neufeld -- Markdown lexer
165170
* Nam T. Nguyen -- Monokai style
166171
* Jesper Noehr -- HTML formatter "anchorlinenos"
@@ -188,7 +193,7 @@ Other contributors, listed alphabetically, are:
188193
* Justin Reidy -- MXML lexer
189194
* Norman Richards -- JSON lexer
190195
* Corey Richardson -- Rust lexer updates
191-
* Fabrizio Riguzzi -- cplint leder
196+
* Fabrizio Riguzzi -- cplint leder
192197
* Lubomir Rintel -- GoodData MAQL and CL lexers
193198
* Andre Roberge -- Tango style
194199
* Georg Rollinger -- HSAIL lexer
@@ -200,6 +205,7 @@ Other contributors, listed alphabetically, are:
200205
* Matteo Sasso -- Common Lisp lexer
201206
* Joe Schafer -- Ada lexer
202207
* Max Schillinger -- TiddlyWiki5 lexer
208+
* Andrew Schmidt -- X++ lexer
203209
* Ken Schutte -- Matlab lexers
204210
* René Schwaiger -- Rainbow Dash style
205211
* Sebastian Schweizer -- Whiley lexer
@@ -258,5 +264,7 @@ Other contributors, listed alphabetically, are:
258264
* Thomas Voss -- Sed lexer
259265
* Martin Fischer -- WCAG contrast testing
260266
* Marc Auberer -- Spice lexer
267+
* Amr Hesham -- Carbon lexer
268+
* diskdance -- Wikitext lexer
261269

262270
Many thanks for all contributions!
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Metadata-Version: 2.1
22
Name: Pygments
3-
Version: 2.13.0
3+
Version: 2.15.1
44
Summary: Pygments is a syntax highlighting package written in Python.
5-
Home-page: https://pygments.org/
6-
Author: Georg Brandl
7-
Author-email: georg@python.org
8-
License: BSD License
9-
Project-URL: Documentation, https://pygments.org/docs/
5+
Author-email: Georg Brandl <georg@python.org>
6+
Maintainer: Matthäus G. Chajdas
7+
Maintainer-email: Georg Brandl <georg@python.org>, Jean Abou Samra <jean@abou-samra.fr>
8+
License: BSD-2-Clause
9+
Project-URL: Homepage, https://pygments.org
10+
Project-URL: Documentation, https://pygments.org/docs
1011
Project-URL: Source, https://github.com/pygments/pygments
1112
Project-URL: Bug Tracker, https://github.com/pygments/pygments/issues
1213
Project-URL: Changelog, https://github.com/pygments/pygments/blob/master/CHANGES
1314
Keywords: syntax highlighting
14-
Platform: any
1515
Classifier: Development Status :: 6 - Mature
1616
Classifier: Intended Audience :: Developers
1717
Classifier: Intended Audience :: End Users/Desktop
@@ -20,19 +20,37 @@ Classifier: License :: OSI Approved :: BSD License
2020
Classifier: Operating System :: OS Independent
2121
Classifier: Programming Language :: Python
2222
Classifier: Programming Language :: Python :: 3
23-
Classifier: Programming Language :: Python :: 3.6
2423
Classifier: Programming Language :: Python :: 3.7
2524
Classifier: Programming Language :: Python :: 3.8
2625
Classifier: Programming Language :: Python :: 3.9
2726
Classifier: Programming Language :: Python :: 3.10
27+
Classifier: Programming Language :: Python :: 3.11
2828
Classifier: Programming Language :: Python :: Implementation :: CPython
2929
Classifier: Programming Language :: Python :: Implementation :: PyPy
3030
Classifier: Topic :: Text Processing :: Filters
3131
Classifier: Topic :: Utilities
32-
Requires-Python: >=3.6
32+
Requires-Python: >=3.7
3333
Description-Content-Type: text/x-rst
3434
License-File: LICENSE
3535
License-File: AUTHORS
3636
Provides-Extra: plugins
3737
Requires-Dist: importlib-metadata ; (python_version < "3.8") and extra == 'plugins'
3838

39+
Pygments
40+
~~~~~~~~
41+
42+
Pygments is a syntax highlighting package written in Python.
43+
44+
It is a generic syntax highlighter suitable for use in code hosting, forums,
45+
wikis or other applications that need to prettify source code. Highlights
46+
are:
47+
48+
* a wide range of over 500 languages and other text formats is supported
49+
* special attention is paid to details, increasing quality by a fair amount
50+
* support for new languages and formats are added easily
51+
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
52+
formats that PIL supports and ANSI sequences
53+
* it is usable as a command-line tool and as a library
54+
55+
Copyright 2006-2023 by the Pygments team, see ``AUTHORS``.
56+
Licensed under the BSD, see ``LICENSE`` for details.

0 commit comments

Comments
 (0)