summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-20 22:02:40 +0200
committerwinniehell <git@winniehell.de>2016-07-24 07:08:45 +0200
commit58c562a951e6417d824864b35c7518f67b2996dc (patch)
tree312addec2555c5812f3102be2d08c7ffd231863c /app/uploaders
parent03738bdd48d64e30c068df54eaf7e44d21e3c9fa (diff)
downloadgitlab-ce-58c562a951e6417d824864b35c7518f67b2996dc.tar.gz
Remove magic comments from Ruby files (!5456)
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/artifact_uploader.rb1
-rw-r--r--app/uploaders/attachment_uploader.rb2
-rw-r--r--app/uploaders/avatar_uploader.rb2
-rw-r--r--app/uploaders/file_uploader.rb1
-rw-r--r--app/uploaders/lfs_object_uploader.rb2
5 files changed, 0 insertions, 8 deletions
diff --git a/app/uploaders/artifact_uploader.rb b/app/uploaders/artifact_uploader.rb
index 1cd93263c9f..b6c52ddac7a 100644
--- a/app/uploaders/artifact_uploader.rb
+++ b/app/uploaders/artifact_uploader.rb
@@ -1,4 +1,3 @@
-# encoding: utf-8
class ArtifactUploader < CarrierWave::Uploader::Base
storage :file
diff --git a/app/uploaders/attachment_uploader.rb b/app/uploaders/attachment_uploader.rb
index a65a896e41e..fb3b5dfecd0 100644
--- a/app/uploaders/attachment_uploader.rb
+++ b/app/uploaders/attachment_uploader.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
class AttachmentUploader < CarrierWave::Uploader::Base
include UploaderHelper
diff --git a/app/uploaders/avatar_uploader.rb b/app/uploaders/avatar_uploader.rb
index 03d9329a14e..71ff14a3f20 100644
--- a/app/uploaders/avatar_uploader.rb
+++ b/app/uploaders/avatar_uploader.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
class AvatarUploader < CarrierWave::Uploader::Base
include UploaderHelper
diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb
index 2f5f49f7de7..3ac6030c21c 100644
--- a/app/uploaders/file_uploader.rb
+++ b/app/uploaders/file_uploader.rb
@@ -1,4 +1,3 @@
-# encoding: utf-8
class FileUploader < CarrierWave::Uploader::Base
include UploaderHelper
MARKDOWN_PATTERN = %r{\!?\[.*?\]\(/uploads/(?<secret>[0-9a-f]{32})/(?<file>.*?)\)}
diff --git a/app/uploaders/lfs_object_uploader.rb b/app/uploaders/lfs_object_uploader.rb
index 046a1d641a9..4f356dd663e 100644
--- a/app/uploaders/lfs_object_uploader.rb
+++ b/app/uploaders/lfs_object_uploader.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
class LfsObjectUploader < CarrierWave::Uploader::Base
storage :file