Sha256: b7d7f90a137b0497615f0ecbc107d312f178aeeafde473c9fbe902316a5e81c5

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

# SWIFT ingest Ruby gem
Ruby gem for storing files in swift openstack storage

![Ruby Swift Ingest gem Diagram](docs/images/overview.png)

## Requirements

Swift_Ingest supports Ruby 2.3.1+

## Installation

Swift_Ingest is hosted on rubygems.org. Therefore it can be installed via:

```bash
  gem install swift_ingest
```

## Usage

This gem in indented to be used from other ruby programs.
Typical usage involves creating new SwiftIngest object

```bash
  swift_depositer = SwiftIngest::Ingestor.new(username: 'user',
                                              password: 'secret',
                                              tenant: 'test',
                                              auth_url: 'http://www.example.com:8080/auth/v1.0',
                                              project: 'MYPROJ')

```

then using newly created oject to deposit object into swift repository:

```bash
  swift_depositer.deposit_file(myfile_file, 'MY_CONTAINER')
```
## Testing

To run the test suite:

```bash
  bundle install
  bundle exec rake
```

This will run both rspec and rubocop together.

To run rspec by itself:

```bash
  bundle exec rspec
```
To run rubocop by itself:

```bash
  bundle exec rubocop
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
swift_ingest-0.4.1 README.md