Skip to content

Commit 1d7f186

Browse files
committed
Add ruby support
Signed-off-by: Nathaniel McCallum <[email protected]>
1 parent 2dc0d07 commit 1d7f186

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

verify-spdx-headers

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class Index:
4040
'python3': 'python',
4141
'python2': 'python',
4242
'python': 'python',
43+
'ruby': 'ruby',
4344
}
4445

4546
EXTENSIONS = {
@@ -50,11 +51,13 @@ class Index:
5051
'.json': 'json',
5152
'.toml': 'toml',
5253
'.md': 'md',
54+
'.rb': 'ruby',
5355
}
5456

5557
def __init__(self):
5658
self.__languages = {
5759
'python': Language('#+', shebang=True),
60+
'ruby': Language('#+', shebang=True),
5861
'rust': Language('///?', '//!', ('/\\*', '\\*/')),
5962
}
6063

0 commit comments

Comments
 (0)