Skip to content

Mini API to fetch version information from GitHub

Notifications You must be signed in to change notification settings

tijmenb/version-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version matrix

Mini API to fetch version information from GitHub.

GET /ruby-versions

Returns Ruby versions for GitHub repos

GET /ruby-versions?repos[]=alphagov/rummager&repos[]=alphagov/government-frontend
{
  "alphagov/rummager": "2.3.0",
  "alphagov/government-frontend": "2.3.1"
}

GET /gem-versions

Returns Ruby versions for GitHub repos

GET /gem-versions?repos[]=alphagov/rummager&repos[]=alphagov/government-frontend&gems[]=sinatra&gems[]=rails
{
  "alphagov/rummager": {
    "sinatra": "1.4.7",
    "rails": null
  },
  "alphagov/government-frontend": {
    "sinatra": null,
    "rails": "5.0.0.1"
  }
}

About

Mini API to fetch version information from GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages