diff --git a/identify/extensions.py b/identify/extensions.py index 544af49..281d1ea 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -371,6 +371,7 @@ 'setup.cfg': EXTENSIONS['ini'], 'sys.config': EXTENSIONS['erl'], 'sys.config.src': EXTENSIONS['erl'], + 'Vagrantfile': EXTENSIONS['rb'], 'WORKSPACE': EXTENSIONS['bzl'], 'wscript': EXTENSIONS['py'], } diff --git a/tests/identify_test.py b/tests/identify_test.py index ac458df..65470e7 100644 --- a/tests/identify_test.py +++ b/tests/identify_test.py @@ -170,6 +170,7 @@ def test_tags_from_path_plist_text(tmpdir): ('build.jenkinsfile', {'text', 'groovy', 'jenkins'}), ('meson.build', {'text', 'meson'}), ('meson_options.txt', {'text', 'plain-text', 'meson'}), + ('Vagrantfile', {'text', 'ruby'}), # does not set binary / text ('f.plist', {'plist'}),