Sha256: f83fdf05302b05b88e6fa44fc8c3fd5c978ef47e2fba9d04bc6b1d5cdb9395ed
Contents?: true
Size: 440 Bytes
Versions: 6
Compression:
Stored size: 440 Bytes
Contents
module GitHelper class GitConfigReader def gitlab_token config_file[:gitlab_token] end def github_token config_file[:github_token] end private def config_file YAML.load_file(git_config_file_path) end private def git_config_file_path Dir.pwd.scan(/\A\/[\w]*\/[\w]*\//).first << git_config_file end private def git_config_file '.git_helper/config.yml' end end end
Version data entries
6 entries across 6 versions & 1 rubygems