diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-11-19 14:31:34 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-11-19 14:31:34 +0200 |
commit | 11311a95545f967a5736cd16ab5fc37f7e658519 (patch) | |
tree | 484912f3b5b690c67080fd0b2d564c3dfb67924d /lib/gitlab_shell.rb | |
parent | 45444597aef3e434571de2491934ae92357ad231 (diff) | |
parent | 80f5af48e2c66c3f61218f9c7e85f74c634ea8df (diff) | |
download | gitlab-shell-11311a95545f967a5736cd16ab5fc37f7e658519.tar.gz |
Merge branch 'git_hook_messages'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
VERSION
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index e2cb2cc..95fad9e 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -60,7 +60,7 @@ class GitlabShell end def validate_access - api.allowed?(@git_cmd, @repo_name, @key_id, '_any') + api.check_access(@git_cmd, @repo_name, @key_id, '_any').allowed? end # This method is not covered by Rspec because it ends the current Ruby process. |