An API interface to Ruby versions status and filters.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
public
spec
tasks/redis
views
.env.dev
.env.test
.gitignore
.rerun
.rspec
.travis.yml
Gemfile
Gemfile.lock
Guardfile
LICENSE
Procfile
Procfile.dev
Procfile.test
README.md
Rakefile
app.rb
config.ru
unicorn.rb

README.md

Rubies.io Build Status

An API interface to Ruby versions status and filters.

API

The endpoint is https://rubies.io/api.
All successful requests return a JSON with Content-Type application/json; charset=utf-8.
CORS is enabled by default.

Status

/active - returns the latest releases currently active (meaning in either normal or security maintenance).

$ curl -s https://rubies.io/api/active | jq
[
  "2.5.1",
  "2.4.4",
  "2.3.7",
  "2.2.10"
]

/preview - returns the latest releases currently in preview.

$ curl -s https://rubies.io/api/preview | jq
[
  "2.6.0-preview1"
]

/normal - returns the latest releases in normal maintenance (receiving bug fixes and security fixes).

$ curl -s https://rubies.io/api/normal | jq
[
  "2.5.1",
  "2.4.4"
]

/security - returns the latest releases in security maintenance (receiving security fixes only).

$ curl -s https://rubies.io/api/security | jq
[
  "2.3.7",
  "2.2.10"
]

/eol - returns the latest end-of-life releases (no longer supported and not receiving any fixes).

$ curl -s https://rubies.io/api/eol | jq
[
  "2.1.10",
  "2.0.0-p648",
  "1.9.3-p551"
]

Errors

Invalid requests return a JSON with 404 status code.

$ curl -s https://rubies.io/api/invalid_path | jq
{
  "error": "Not Found",
  "status": 404
}

Work in progress...