Sha256: ac199d7dc264aa425ed35b3a56b6e0d8d6babe6042c21b87a9a530c5908c2eee

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

# OpenstackBridge

Basic integration with Openstack Swift. Implemented simple operation like exists?, read, create and delete.

## Installation

Add this line to your application's Gemfile:

    gem 'openstack_bridge'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install openstack_bridge

## Usage

```ruby
  swift = OpenstackBridge::Swift.new('localhost', 'lis2', 'password', 'dev')
  swift.create('test_container')
  swift.containers # => ['test_container']
  swift.delete('test_container') 

  container = swift.container['test_container']
  container.exists?('readme.txt')
  container.read('readme.txt')
  container.delete('readme.txt')
  container.create('readme.txt', 'new content')
  container.objects # => ['readme.txt']
```

## Status
[![Build Status](https://travis-ci.org/lis2/openstack_bridge.svg?branch=master)](https://travis-ci.org/lis2/openstack_bridge.svg?branch=master)

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openstack_bridge-1.0.1 README.md
openstack_bridge-1.0.0 README.md
openstack_bridge-0.0.5 README.md