Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
This document provides a high-level view of the changes to the {project-name} by release.
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.

== Unreleased

* Update Pygments to 2.8.0

== 2.0.0 (2021-01-08) - @slonopotamus

* stop sending/receiving `ids` between Ruby and Python
Expand Down
10 changes: 0 additions & 10 deletions test/test_pygments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ def test_full_html_highlight
</pre></div>), code
end

def test_full_table_highlight
code = P.highlight(RUBY_CODE, options: { linenos: true })
assert_match '<span class="ch">#!/usr/bin/ruby</span>', code
assert_equal %(<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
2</pre></div></td><td class="code"><div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/ruby</span>
<span class="nb">puts</span> <span class="s1">&#39;foo&#39;</span>
</pre></div>
</td></tr></table>), code
end

def test_highlight_works_with_larger_files
code = P.highlight(TEST_CODE)
assert_match 'Main loop, waiting for inputs on stdin', code
Expand Down
482 changes: 0 additions & 482 deletions vendor/pygments-main/Pygments-2.7.4.dist-info/RECORD

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ Other contributors, listed alphabetically, are:
* Alex Zimin -- Nemerle lexer
* Rob Zimmerman -- Kal lexer
* Vincent Zurczak -- Roboconf lexer
* Hubert Gruniaux -- C and C++ lexer improvements
* Thomas Symalla -- AMDGPU Lexer
* 15b3 -- Image Formatter improvements
* Fabian Neumann -- CDDL lexer
* Thomas Duboucher -- CDDL lexer

Many thanks for all contributions!
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
Metadata-Version: 2.1
Name: Pygments
Version: 2.7.4
Version: 2.8.0
Summary: Pygments is a syntax highlighting package written in Python.
Home-page: https://pygments.org/
Author: Georg Brandl
Author-email: [email protected]
License: BSD License
Keywords: syntax highlighting
Platform: any
Classifier: License :: OSI Approved :: BSD License
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: Development Status :: 6 - Mature
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Expand All @@ -22,12 +23,10 @@ Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Utilities
Requires-Python: >=3.5


Pygments
~~~~~~~~

Expand All @@ -40,10 +39,10 @@ are:
* a wide range of over 500 languages and other text formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image formats that PIL supports and ANSI sequences
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
formats that PIL supports and ANSI sequences
* it is usable as a command-line tool and as a library

:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.

Copyright 2006-2021 by the Pygments team, see ``AUTHORS``.
Licensed under the BSD, see ``LICENSE`` for details.

494 changes: 494 additions & 0 deletions vendor/pygments-main/Pygments-2.8.0.dist-info/RECORD

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions vendor/pygments-main/pygments/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Pygments
~~~~~~~~
Expand Down Expand Up @@ -28,7 +27,7 @@
import sys
from io import StringIO, BytesIO

__version__ = '2.7.4'
__version__ = '2.8.0'
__docformat__ = 'restructuredtext'

__all__ = ['lex', 'format', 'highlight']
Expand Down
1 change: 0 additions & 1 deletion vendor/pygments-main/pygments/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
pygments.__main__
~~~~~~~~~~~~~~~~~
Expand Down
Loading