Pull Request #38 Use new API endpoint to validate token

The new endpoint
https://developer.github.com/v3/apps/oauth_applications/#check-a-token
replaces
https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization

https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/
https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/

Hiro Asari avatar Hiro Asari

Pull request event #305 failed

  • Ran for
  • Total time
  • New branch build
travis-ci/gh:.travis.yml@e063c0a
language: ruby
sudo: required
dist: trusty
rvm:
  - 2.3.3
  - 2.4.0
  - jruby-9.1.5.0
  - jruby-head
before_install:
  - gem update bundler
matrix:
  allow_failures:
    - rvm: jruby-head
Build Config
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "sudo": true,
  "rvm": [
    "2.3.3",
    "2.4.0",
    "jruby-9.1.5.0",
    "jruby-head"
  ],
  "before_install": [
    "gem update bundler"
  ],
  "jobs": {
    "allow_failures": [
      {
        "rvm": "jruby-head"
      }
    ]
  }
}