diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-17 11:27:30 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-17 14:10:00 -0500 |
commit | 24b105e2e1339fd65cc43727e550edb004277383 (patch) | |
tree | 476854995651f0a367a08d8c1accd1a283852e43 /app/models/blob_viewer/cartfile.rb | |
parent | d4d9b731c41cdb4a8b933edff34bd9c9ddf1403a (diff) | |
download | gitlab-ce-24b105e2e1339fd65cc43727e550edb004277383.tar.gz |
Add auxiliary blob viewers to dependency files
Diffstat (limited to 'app/models/blob_viewer/cartfile.rb')
-rw-r--r-- | app/models/blob_viewer/cartfile.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/models/blob_viewer/cartfile.rb b/app/models/blob_viewer/cartfile.rb new file mode 100644 index 00000000000..d8471bc33c0 --- /dev/null +++ b/app/models/blob_viewer/cartfile.rb @@ -0,0 +1,15 @@ +module BlobViewer + class Cartfile < DependencyManager + include Static + + self.file_types = %i(cartfile) + + def manager_name + 'Carthage' + end + + def manager_url + 'https://github.com/Carthage/Carthage' + end + end +end |