指南
GET -
使用 API v2 获取更多信息
Gem 版本方法
GET - /api/v2/rubygems/[GEM NAME]/versions/[VERSION NUMBER].(json|yaml)
返回包含特定 gem 版本的版本详细信息的字典。
要返回特定平台(例如“ruby”、“java”、“x86_64-linux”)的版本,请使用 platform
查询参数。
$ curl https://rubygems.org.cn/api/v2/rubygems/coulda/versions/0.7.1.json
{
"authors":"Evan David Light",
"built_at":"2011-08-08T04:00:00.000Z",
"created_at":"2011-08-08T21:23:40.254Z",
"description":"Behaviour Driven Development derived from Cucumber but as an internal DSL with methods for reuse",
"downloads_count":2469,
"metadata":{},
"number":"0.7.1",
"summary":"Test::Unit-based acceptance testing DSL",
"platform":"ruby",
"ruby_version":null,
"prerelease":false,
"licenses":null,
"requirements":null,
"sha":"777c3a7ed83e44198b0a624976ec99822eb6f4a44bf1513eafbc7c13997cd86c"
}