summaryrefslogtreecommitdiff
path: root/app/models/blob.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-17 11:27:30 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-17 14:10:00 -0500
commit24b105e2e1339fd65cc43727e550edb004277383 (patch)
tree476854995651f0a367a08d8c1accd1a283852e43 /app/models/blob.rb
parentd4d9b731c41cdb4a8b933edff34bd9c9ddf1403a (diff)
downloadgitlab-ce-24b105e2e1339fd65cc43727e550edb004277383.tar.gz
Add auxiliary blob viewers to dependency files
Diffstat (limited to 'app/models/blob.rb')
-rw-r--r--app/models/blob.rb14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/models/blob.rb b/app/models/blob.rb
index 5ae35d3ab08..bc4292f0e9c 100644
--- a/app/models/blob.rb
+++ b/app/models/blob.rb
@@ -42,7 +42,19 @@ class Blob < SimpleDelegator
BlobViewer::License,
BlobViewer::Contributing,
- BlobViewer::Changelog
+ BlobViewer::Changelog,
+
+ BlobViewer::Cartfile,
+ BlobViewer::ComposerJson,
+ BlobViewer::Gemfile,
+ BlobViewer::Gemspec,
+ BlobViewer::GodepsJson,
+ BlobViewer::PackageJson,
+ BlobViewer::Podfile,
+ BlobViewer::Podspec,
+ BlobViewer::PodspecJson,
+ BlobViewer::RequirementsTxt,
+ BlobViewer::YarnLock
].freeze
attr_reader :project