Skip to content

Commit

Permalink
Add ruby support
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel McCallum <nathaniel@congru.us>
  • Loading branch information
npmccallum committed Jul 15, 2021
1 parent 2dc0d07 commit 1d7f186
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions verify-spdx-headers
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class Index:
'python3': 'python',
'python2': 'python',
'python': 'python',
'ruby': 'ruby',
}

EXTENSIONS = {
Expand All @@ -50,11 +51,13 @@ class Index:
'.json': 'json',
'.toml': 'toml',
'.md': 'md',
'.rb': 'ruby',
}

def __init__(self):
self.__languages = {
'python': Language('#+', shebang=True),
'ruby': Language('#+', shebang=True),
'rust': Language('///?', '//!', ('/\\*', '\\*/')),
}

Expand Down

0 comments on commit 1d7f186

Please sign in to comment.