README.md in redis_collection-0.1.0 vs README.md in redis_collection-0.2.0
- old
+ new
@@ -27,11 +27,11 @@
## Usage
```ruby
books = [
- { 'id' => 1, 'title' => 'Programming Elixir' },
- { 'id' => 2, 'title' => 'Programming Phoenix' }
+ { id: 1, title: 'Programming Elixir' },
+ { id: 2, title: 'Programming Phoenix' }
]
redis = Redis.new(url: ENV['REDIS_URL'])
redis_collection = RedisCollection.new(redis, namespace: 'books_')
redis_collection.sync(books)