Sha256: e7e56f341ae98a912da340ec4ce5bc60028d192cd5815c6bbb4e4aff791206ca

Contents?: true

Size: 939 Bytes

Versions: 13

Compression:

Stored size: 939 Bytes

Contents

# Alephant::Cache

Simple abstraction layer over S3 for get/put.

[![Build
Status](https://travis-ci.org/BBC-News/alephant-cache.png)](https://travis-ci.org/BBC-News/alephant-cache)

[![Gem Version](https://badge.fury.io/rb/alephant-cache.png)](http://badge.fury.io/rb/alephant-cache)

## Installation

Add this line to your application's Gemfile:

    gem 'alephant-cache'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install alephant-cache

## Usage

```rb
require 'alephant/cache'

cache = Alephant::Cache.new('bucket_id', 'base/path')
cache.put('id', "string data")
cache.get('id')

# => "string data"
```

## Contributing

1. Fork it ( http://github.com/<my-github-username>/alephant-cache/fork )
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

13 entries across 13 versions & 1 rubygems

Version Path
alephant-cache-2.0.1 README.md
alephant-cache-2.0.0 README.md
alephant-cache-1.2.4 README.md
alephant-cache-1.2.3 README.md
alephant-cache-1.2.2 README.md
alephant-cache-1.2.1 README.md
alephant-cache-1.1.1 README.md
alephant-cache-1.1.0 README.md
alephant-cache-1.0.0 README.md
alephant-cache-0.0.4 README.md
alephant-cache-0.0.3 README.md
alephant-cache-0.0.2 README.md
alephant-cache-0.0.1 README.md