Mini API to fetch version information from GitHub.
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"
}
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"
}
}