{"id":16174203,"url":"https://github.com/relaxdiego/redstack","last_synced_at":"2025-10-28T02:48:54.111Z","repository":{"id":8580113,"uuid":"10211432","full_name":"relaxdiego/redstack","owner":"relaxdiego","description":"Old Prototype. Use aviator/aviator instead.","archived":false,"fork":false,"pushed_at":"2013-07-08T21:48:27.000Z","size":416,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T02:45:13.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/aviator/aviator","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/relaxdiego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-22T04:07:16.000Z","updated_at":"2014-01-07T08:04:19.000Z","dependencies_parsed_at":"2022-08-30T03:50:32.739Z","dependency_job_id":null,"html_url":"https://github.com/relaxdiego/redstack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Fredstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Fredstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Fredstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Fredstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/relaxdiego","download_url":"https://codeload.github.com/relaxdiego/redstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247631284,"owners_count":20970038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T04:24:11.314Z","updated_at":"2025-10-28T02:48:49.070Z","avatar_url":"https://github.com/relaxdiego.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RedStack\n\nA Ruby binding for the OpenStack API.\n\n[![Code Climate](https://codeclimate.com/github/relaxdiego/redstack.png)](https://codeclimate.com/github/relaxdiego/redstack)\n[![Build Status](https://travis-ci.org/relaxdiego/redstack.png)](https://travis-ci.org/relaxdiego/redstack) \n[![Coverage Status](https://coveralls.io/repos/relaxdiego/redstack/badge.png?branch=develop)](https://coveralls.io/r/relaxdiego/redstack?branch=develop)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'redstack'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install redstack\n\n## Usage\n\n```ruby\nrequire 'redstack'\n\n# Define a Keystone connection\nks = RedStack::Identity.new host: 'http://myopenstackinstance.com:5000', api_version: 'v2.0'\n\n# Authenticate against Keystone\ntoken = ks.authenticate username: 'johndoe', password: 'gu29qa!'\n\n# Get a list of tenants/projects you have access to\nprojects = ks.find_projects\n\n#Create a project (Requires token with admin access)\nks.authenticate username: 'johndoe', password: 'adfw@1', tenant: 'my_project'\nproject = ks.create_project name: 'New Project', description: 'My awesome project', enabled: true\n\n# Get all projects in the system  (Requires token with admin access)\nks.authenticate username: 'johndoe', password: 'adfw@1', tenant: 'my_project'\nprojects = ks.find_projects select: :all\n\n# Re-use token in other services\nks.authenticate username: 'johndoe', password: 'adfw@1', tenant: 'my_project'\nnc = RedStack::Compute.new token: ks.token\nservers = nc.find_servers\n\n# ...or Re-use it in a new Keystone instance\nks2 = RedStack::Identity.new token: ks.token\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Setting Up Your Local Dev Environment\nA few requirements before proceeding:\n\n* RVM\n* git\n* growl on Mac OS X\n\nOnce the above have been installed, go to the RedStack project directory and install the required gems:\n\n```\nbundle install\n```\n\nNow you can start developing! Open the project folder with your favorit text editor, then, on your terminal, run guard from the project directory:\n\n```\nbundle exec guard\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelaxdiego%2Fredstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelaxdiego%2Fredstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelaxdiego%2Fredstack/lists"}