Sha256: 7b17708248852408eeed8244261171a15f50047e1d0df2f675d3a68efbe7af94

Contents?: true

Size: 333 Bytes

Versions: 34

Compression:

Stored size: 333 Bytes

Contents

require 'yaml'

def settings_file
  Pathname.new(File.expand_path("../../settings.yml", __FILE__))
end

SETTINGS = (File.exists?(settings_file) && yaml= YAML.load_file(settings_file)) ? yaml : {'basic_auth' => 'login:password', 'oauth_token' => 'as79asfd79ads', 'user'=> 'octokat', 'repo' => 'dummy', 'email' => 'email@example.com'}

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
github_api-0.8.1 features/support/settings.rb
github_api-0.8.0 features/support/settings.rb
github_api-0.7.2 features/support/settings.rb
github_api-0.7.1 features/support/settings.rb
github_api-0.7.0 features/support/settings.rb
github_api-0.6.5 features/support/settings.rb
github_api-0.6.4 features/support/settings.rb
github_api-0.6.3 features/support/settings.rb
github_api-0.6.2 features/support/settings.rb
github_api-0.6.1 features/support/settings.rb
github_api-0.6.0 features/support/settings.rb
github_api-0.5.4 features/support/settings.rb
github_api-0.5.3 features/support/settings.rb
github_api-0.5.2 features/support/settings.rb