diff options
author | Akzhan <akzhan.abdulin@gmail.com> | 2013-03-23 16:14:10 +0400 |
---|---|---|
committer | Akzhan <akzhan.abdulin@gmail.com> | 2013-03-23 16:14:10 +0400 |
commit | acdeb0bf1f7660031183e5fea785d6d665013284 (patch) | |
tree | cf5bbd1c02107d2e38981daa312bc267cf780ca5 /lib/gitlab_config.rb | |
parent | 601450c30d66a17b3b445f0ca7367eae458efcdd (diff) | |
download | gitlab-shell-acdeb0bf1f7660031183e5fea785d6d665013284.tar.gz |
http_settings configuration option added.
Now it supports:
* self_signed_cert option to allow self-signed certificates over https protocol.
* user and password options to pass though http auth.
Diffstat (limited to 'lib/gitlab_config.rb')
-rw-r--r-- | lib/gitlab_config.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab_config.rb b/lib/gitlab_config.rb index 6e16a13..6cfee5d 100644 --- a/lib/gitlab_config.rb +++ b/lib/gitlab_config.rb @@ -18,4 +18,8 @@ class GitlabConfig def gitlab_url @config['gitlab_url'] ||= "http://localhost/" end + + def http_settings + @config['http_settings'] ||= {} + end end |