lib/travis/tools/github.rb in travis-1.13.3 vs lib/travis/tools/github.rb in travis-1.14.0

- old
+ new

@@ -16,9 +16,10 @@ attr_accessor :api_url, :scopes, :github_token, :drop_token, :callback, :explode, :after_tokens, :login_header, :auto_token, :note, :hub_path, :oauth_paths, :composer_path, :git_config_keys, :debug, :no_token, :check_token def initialize(options = nil) + @check_token = true @ask_login = proc { raise 'ask_login callback not set' } @after_tokens = proc {} @debug = proc { |_| } @hub_path = ENV['HUB_CONFIG'] || '~/.config/hub'