replace Gitolited mixin with Gitlab::ShellAdapter
This commit is contained in:
parent
d6338a8482
commit
0103363191
9 changed files with 21 additions and 17 deletions
12
lib/gitlab/backend/shell_adapter.rb
Normal file
12
lib/gitlab/backend/shell_adapter.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
# == GitLab Shell mixin
|
||||
#
|
||||
# Provide a shortcut to Gitlab::Shell instance by gitlab_shell
|
||||
#
|
||||
module Gitlab
|
||||
module ShellAdapter
|
||||
def gitlab_shell
|
||||
Gitlab::Shell.new
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue