Skip to content

Commit

Permalink
Merge pull request #425 from dafyddj/feat/vagrantfile
Browse files Browse the repository at this point in the history
feat: identify `Vagrantfile` as Ruby
  • Loading branch information
asottile authored Nov 18, 2023
2 parents 97793fd + ed0ca06 commit 9c86ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
1 change: 1 addition & 0 deletions tests/identify_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}),
Expand Down

0 comments on commit 9c86ec0

Please sign in to comment.