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.10.1 features/support/settings.rb
github_api-0.10.0 features/support/settings.rb
github_api-0.9.7 features/support/settings.rb
github_api-0.9.6 features/support/settings.rb
github_api-0.9.5 features/support/settings.rb
github_api-0.9.4 features/support/settings.rb
github_api-0.9.3 features/support/settings.rb
github_api-0.9.2 features/support/settings.rb
github_api-0.9.1 features/support/settings.rb
github_api-0.9.0 features/support/settings.rb
github_api-0.8.11 features/support/settings.rb
github_api-0.8.10 features/support/settings.rb
github_api-0.8.9 features/support/settings.rb
github_api-0.8.8 features/support/settings.rb
github_api-0.8.7 features/support/settings.rb
github_api-0.8.6 features/support/settings.rb
github_api-0.8.5 features/support/settings.rb
github_api-0.8.4 features/support/settings.rb
github_api-0.8.3 features/support/settings.rb
github_api-0.8.2 features/support/settings.rb