summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-27 16:14:58 +0100
committerRémy Coutable <remy@rymai.me>2017-01-27 16:16:55 +0100
commitf575fe46a792593414f7f21533bfbbdceae2740c (patch)
tree960779ca5af1ac5f8730e8f107bf16143d07a05e
parentc446cfcbae82b4bfa2987ddf2b4865b11230ca1b (diff)
downloadgitlab-ce-27280-fix-unititalized-constant.tar.gz
Move Gitlab::Shell and Gitlab::ShellAdapter files to lib/27280-fix-unititalized-constant
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--config/initializers/5_backend.rb6
-rw-r--r--lib/gitlab/shell.rb (renamed from lib/gitlab/backend/shell.rb)0
-rw-r--r--lib/gitlab/shell_adapter.rb (renamed from lib/gitlab/backend/shell_adapter.rb)0
3 files changed, 0 insertions, 6 deletions
diff --git a/config/initializers/5_backend.rb b/config/initializers/5_backend.rb
index ed88c8ee1b8..2bd159ca7f1 100644
--- a/config/initializers/5_backend.rb
+++ b/config/initializers/5_backend.rb
@@ -1,9 +1,3 @@
-# GIT over SSH
-require_dependency Rails.root.join('lib/gitlab/backend/shell')
-
-# GitLab shell adapter
-require_dependency Rails.root.join('lib/gitlab/backend/shell_adapter')
-
required_version = Gitlab::VersionInfo.parse(Gitlab::Shell.version_required)
current_version = Gitlab::VersionInfo.parse(Gitlab::Shell.new.version)
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/shell.rb
index 82e194c1af1..82e194c1af1 100644
--- a/lib/gitlab/backend/shell.rb
+++ b/lib/gitlab/shell.rb
diff --git a/lib/gitlab/backend/shell_adapter.rb b/lib/gitlab/shell_adapter.rb
index fbe2a7a0d72..fbe2a7a0d72 100644
--- a/lib/gitlab/backend/shell_adapter.rb
+++ b/lib/gitlab/shell_adapter.rb