/gemfury

Gemfury CLI and API client

Primary LanguageRubyMIT LicenseMIT

Gemfury CLI

Gem Version Documentation Documentation completeness Build Status Code Climate

This is the Gemfury CLI used to manage your Gemfury packages from the command line. If you're familiar with the service and want to jump straight into command line action, please proceed to the CLI documentation.

Gemfury is your personal cloud for your private and custom RubyGems, Python packages, and NPM modules. Once you upload your packages and enable Gemfury as a source, you can securely deploy any package to any host. It's simple, reliable, and hassle-free.

Introduction to Gemfury

Using Gemfury CLI

Putting Gemfury to work

Using the Gemfury Client

You can also use the client directly via Ruby; you will need a "Full access token" (API token) from https://manage.fury.io/manage/YOUR-ACCOUNT-NAME/tokens/api

require 'gemfury'

client = Gemfury::Client.new(user_api_key: "YOUR API TOKEN")

all_artifacts = client.list
puts "Available artifacts:"
puts all_artifacts

one_artifact = all_artifacts[0]
puts "Versions of the #{one_artifact['language']} artifact #{one_artifact['name']}:"
artifact_versions = client.versions(one_artifact["name"])
puts artifact_versions.map { |v| v["version"] }

More information about the Gemfury::Client API is hosted on rubydoc.info.

Contribution and Improvements

Please email us if we've missed some key functionality or you have problems installing the CLI client. Better yet, fork the code, make the changes, and submit a pull request to speed things along.

Submitting updates

If you would like to contribute to this project, just do the following:

  1. Fork the repo on Github.
  2. Add your features and make commits to your forked repo.
  3. Make a pull request to this repo.
  4. Review will be done and changes will be requested.
  5. Once changes are done or no changes are required, pull request will be merged.
  6. The next release will have your changes in it.

Please take a look at the issues page if you want to get started.

Feature requests

If you think it would be nice to have a particular feature that is presently not implemented, we would love to hear that and consider working on it. Just open an issue in Github.

Dependency conflicts

Over time, dependencies for this gem will get stale and may interfere with your other gems. Please let us know if you run into this and we will re-test our gem with the new version of the dependency and update the gemspec.

Questions

Please email support@gemfury.com or file a Github Issue if you have any other questions or problems.