Client library for Ruby Gems
npm install --save @datafire/rubygems
let rubygems = require('@datafire/rubygems').create();
.then(data => {
console.log(data);
});
Interact with RubyGems.org to query and create gems, mange owners and more.
Returns some basic information about the given gem.
rubygems.gems.name.format.get({
"name": "",
"format": ""
}, context)
- input
object
- name required
string
: Gem name. - format required
string
(values: json, xml, yaml): Response format.
- name required
Output schema unknown
Submit a search to Gemcutter for active gems, just like a search query on the site.
rubygems.search.format.get({
"format": "",
"query": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format. - query required
string
: Query to search for.
- format required
Output schema unknown
List all gems that you own.
rubygems.gems.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Submit a gem to RubyGems.org. Must post a built RubyGem in the request body.
rubygems.gems.post(null, context)
This action has no parameters
Output schema unknown
Remove a gem from RubyGems.org’s index.
rubygems.gems.yank.delete({
"gem_name": "",
"version": ""
}, context)
- input
object
- gem_name required
string
: Gem name. - version required
string
: Gem version. - platform
string
: Gem platform.
- gem_name required
Output schema unknown
Update a previously yanked gem back into RubyGems.org’s index.
rubygems.gems.unyank.put({
"gem_name": "",
"version": ""
}, context)
- input
object
- gem_name required
string
: Gem name. - version required
string
: Gem version. - platform
string
: Gem platform.
- gem_name required
Output schema unknown
Pulls the 50 newest first-version gems added to RubyGems.org.
rubygems.gems.latest.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Pulls the 50 most recently updated gems.
rubygems.gems.just_updated.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Returns an array of gem version details.
rubygems.versions.name.format.get({
"name": "",
"format": ""
}, context)
- input
object
- name required
string
: Gem name. - format required
string
(values: json, xml, yaml): Response format.
- name required
Output schema unknown
Returns an object containing the total number of downloads on RubyGems.
rubygems.downloads.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Returns an object containing the top 50 downloaded gem versions for today.
rubygems.downloads.top.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Returns an object containing the top 50 downloaded gem versions of all time.
rubygems.downloads.all.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Returns an object containing the total number of downloads for a paritcular gem as well as the total number of downloads for the specified version.
rubygems.downloads.name_version.format.get({
"name": "",
"version": "",
"format": ""
}, context)
- input
object
- name required
string
: Gem name. - version required
string
: Gem version. - format required
string
(values: json, xml, yaml): Response format.
- name required
Output schema unknown
Returns an object containing the number of downloads by day for a particular gem version for 90 days of data.
rubygems.versions.name_version.downloads.format.get({
"name": "",
"version": "",
"format": ""
}, context)
- input
object
- name required
string
: Gem name. - version required
string
: Gem version. - format required
string
(values: json, yaml): Response format.
- name required
Output schema unknown
Returns an object containing the number of downloads by day for a particular gem version between a date range, specified by the parameters from and to. Dates values should be specified in the format YYYY-MM-DD.
rubygems.versions.name_version.downloads.search.format.get({
"name": "",
"version": "",
"format": "",
"from": "",
"to": ""
}, context)
- input
object
- name required
string
: Gem name. - version required
string
: Gem version. - format required
string
(values: json, yaml): Response format. - from required
string
: Start date from where to search for. (YYYY-MM-DD) - to required
string
: End date to where to search for. (YYYY-MM-DD)
- name required
Output schema unknown
View all owners of a gem. These users can all push to this gem.
rubygems.gems.name.owners.format.get({
"name": "",
"format": ""
}, context)
- input
object
- name required
string
: Gem name. - format required
string
(values: json, xml, yaml): Response format.
- name required
Output schema unknown
Add an owner to a RubyGem you own, giving that user permission to manage it.
rubygems.gems.name.owners.post({
"name": "",
"email": ""
}, context)
- input
object
- name required
string
: Gem name. - email required
string
: Gem owner email.
- name required
Output schema unknown
Remove a user’s permission to manage a RubyGem you own.
rubygems.gems.name.owners.delete({
"name": "",
"email": ""
}, context)
- input
object
- name required
string
: Gem name. - email required
string
: Gem owner email.
- name required
Output schema unknown
List the webhooks registered under your account.
rubygems.web_hooks.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Create a webhook.
rubygems.web_hooks.post({
"gem_name": "",
"url": ""
}, context)
- input
object
- gem_name required
string
: Gem name. Could specify * to apply the hook globally to all gems. - url required
string
: WebHook URL.
- gem_name required
Output schema unknown
Remove a webhook.
rubygems.web_hooks.remove.delete({
"gem_name": "",
"url": ""
}, context)
- input
object
- gem_name required
string
: Gem name. Could specify * to apply the hook globally to all gems. - url required
string
: WebHook URL.
- gem_name required
Output schema unknown
Test fire a webhook. This can be used to test out an endpoint at any time, for example when you’re developing your application.
rubygems.web_hooks.fire.post({
"gem_name": "",
"url": ""
}, context)
- input
object
- gem_name required
string
: Gem name. Could specify * to apply the hook globally to all gems. - url required
string
: WebHook URL.
- gem_name required
Output schema unknown
Retrieve your API key using HTTP basic auth.
rubygems.api_key.format.get({
"format": ""
}, context)
- input
object
- format required
string
(values: json, xml, yaml): Response format.
- format required
Output schema unknown
Returns a marshalled array of hashes for all versions of given gems. Each hash contains a gem version with its dependencies making this useful for resolving dependencies.
rubygems.dependencies.get({
"gems": ""
}, context)
- input
object
- gems required
string
: Comma delimited Gem names.
- gems required
Output schema unknown
This integration has no definitions