diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:08:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:08:23 +0000 |
commit | 11ffd911938a9b7e426c4e2fd6876988dd009c99 (patch) | |
tree | fd790830f041649957a0d9aeafa18587d5b96d64 | |
parent | Adding upstream version 2.5.21. (diff) | |
download | identify-11ffd911938a9b7e426c4e2fd6876988dd009c99.tar.xz identify-11ffd911938a9b7e426c4e2fd6876988dd009c99.zip |
Adding upstream version 2.5.22.upstream/2.5.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | identify/extensions.py | 1 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | tests/identify_test.py | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/identify/extensions.py b/identify/extensions.py index 71bd65f..6d8a490 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -326,6 +326,7 @@ NAMES = { 'BUILD.bazel': EXTENSIONS['bzl'], 'CMakeLists.txt': EXTENSIONS['cmake'], 'CHANGELOG': EXTENSIONS['txt'], + 'config.ru': EXTENSIONS['rb'], 'CONTRIBUTING': EXTENSIONS['txt'], 'COPYING': EXTENSIONS['txt'], 'Dockerfile': {'text', 'dockerfile'}, @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.5.21 +version = 2.5.22 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown diff --git a/tests/identify_test.py b/tests/identify_test.py index 16b4f37..2026afe 100644 --- a/tests/identify_test.py +++ b/tests/identify_test.py @@ -160,6 +160,7 @@ def test_tags_from_path_plist_text(tmpdir): ('Pipfile.lock', {'text', 'json'}), ('mod/test.py', {'text', 'python'}), ('mod/Dockerfile', {'text', 'dockerfile'}), + ('config.ru', {'text', 'ruby'}), ('Gemfile', {'text', 'ruby'}), ('Gemfile.lock', {'text'}), ('Jenkinsfile', {'text', 'groovy', 'jenkins'}), |