From f575fe46a792593414f7f21533bfbbdceae2740c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= <remy@rymai.me> Date: Fri, 27 Jan 2017 16:14:58 +0100 Subject: [PATCH] Move Gitlab::Shell and Gitlab::ShellAdapter files to lib/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable <remy@rymai.me> --- config/initializers/5_backend.rb | 6 ------ lib/gitlab/{backend => }/shell.rb | 0 lib/gitlab/{backend => }/shell_adapter.rb | 0 3 files changed, 6 deletions(-) rename lib/gitlab/{backend => }/shell.rb (100%) rename lib/gitlab/{backend => }/shell_adapter.rb (100%) 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 similarity index 100% rename from lib/gitlab/backend/shell.rb rename to lib/gitlab/shell.rb diff --git a/lib/gitlab/backend/shell_adapter.rb b/lib/gitlab/shell_adapter.rb similarity index 100% rename from lib/gitlab/backend/shell_adapter.rb rename to lib/gitlab/shell_adapter.rb -- GitLab