diff options
Diffstat (limited to 'support/gitlab_config.rb')
-rw-r--r-- | support/gitlab_config.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/support/gitlab_config.rb b/support/gitlab_config.rb new file mode 100644 index 0000000..1416488 --- /dev/null +++ b/support/gitlab_config.rb @@ -0,0 +1,13 @@ +require 'yaml' + +class GitlabConfig + attr_reader :config + + def initialize + @config = YAML.load_file(File.join(ROOT_PATH, 'config.yml')) + end + + def auth_file + @config['auth_file'] ||= File.join(Dir.home, '.ssh/authorized_keys') + end +end |