Update gitlab_shell.rb

using instance_variable_defined to avoid @user_tried
Add optional repo path, remove reference to gitolite repo, fixes #77
Replace build in home folder with environment

You can't ever assume that user's home is /home/$USERNAME or /home/git

Preferable is to assume that user running gitlab-shell has repositories in his home (get from the environment).
added support for redis password
Fix spec for GitlabConfig.gitlab_url.
add note about other HTTPS setup details
use abort isntead of raise when checking path
Merge branch 'abort-check-path' into 'master'

Abort check path

Fixes #13

See merge request !35
update changelog
Merge branch 'update-changelog' into 'master'

Update changelog

in light of !35

See merge request !36
Handle invalid number of arguments

When a remote user with a valid SSH key runs something like 'ssh
git@gitlab.example.com foobar', gitlab-shell would raise an exception in
the GitlabShell#escape_path method. With this change, we catch an
invalid number of arguments as soon as possible and exit.
Use a different style of one-line classes
Security issue: imported URLs are stored along with password.
Merge branch 'wrong_number_of_arguments' into 'master'

Handle invalid number of arguments

See merge request !37
Merge branch 'master' of github.com:gitlabhq/gitlab-shell
Add new pre-receive and post-receive hooks

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
GitlabAccess and GitlabPostReceive classes added

Gitlab Access handles security check. GitlabPostReceive creates a sidekiq job

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add tests for GitlabPostReceive

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Remove update hook logic

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Version 2.0.0.pre. Requires GitLab 7.3+

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>