Sha256: 41d9f8a9b64373b8ee3b92312c6224022be5c8d63c86fcafde287c84f0140a19
Contents?: true
Size: 386 Bytes
Versions: 9
Compression:
Stored size: 386 Bytes
Contents
require 'yaml' def settings_file Pathname.new(File.expand_path("../../settings.yml", __FILE__)) end def live_credentials? true end SETTINGS = (live_credentials? && File.exists?(settings_file) && yaml= YAML.load_file(settings_file)) ? yaml : {'basic_auth' => 'login:password', 'oauth_token' => 'as79asfd79ads', 'user'=> 'murek', 'repo' => 'dummy', 'email' => 'email@example.com'}
Version data entries
9 entries across 9 versions & 1 rubygems