bindi 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +10 -6
  2. data/bindi.gemspec +1 -1
  3. data/lib/bindi/version.rb +1 -1
  4. metadata +3 -3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Bindi
2
2
 
3
- [Bindi](https://github.com/Havenwood/bindi) is a DSL for storing marshallable Ruby Objects in [Redis](http://redis.io/) using [Ohm](http://ohm.keyvalue.org/) (Object-hash mapping gem for Redis).
3
+ [Bindi](https://github.com/Havenwood/bindi) is a DSL for storing serializable Ruby Objects in [Redis](http://redis.io/) using [Ohm](http://ohm.keyvalue.org/).
4
4
 
5
5
  ## Installation
6
6
 
@@ -28,12 +28,13 @@ And start Redis:
28
28
  require 'bindi'
29
29
  #=> true
30
30
 
31
- bindi = Bindi.new YAML # Works with Marshal, YAML, JSON, etc.
31
+ bindi = Bindi.new YAML # Choose between Marshal, YAML, JSON, etcetera for serializing.
32
+ #=> #<Redis client v3.0.2 for redis://127.0.0.1:6379/0>
32
33
 
33
34
  bindi[:state_gemstones] = { alabama: 'Star Blue Quartz',
34
- alaska: 'Nephrite Jade',
35
- arizona: 'Turquoise',
36
- arkansas: 'Diamond' }
35
+ alaska: 'Nephrite Jade',
36
+ arizona: 'Turquoise',
37
+ arkansas: 'Diamond' }
37
38
 
38
39
  #=> {:alabama=>"Star Blue Quartz", ...
39
40
 
@@ -45,7 +46,10 @@ Your Ruby Object is now stored in Redis.
45
46
  ```ruby
46
47
  require 'bindi'
47
48
  #=> true
48
-
49
+
50
+ bindi = Bindi.new YAML
51
+ #=> #<Redis client v3.0.2 for redis://127.0.0.1:6379/0>
52
+
49
53
  bindi.keys
50
54
  #=> "state_gemstones"
51
55
 
@@ -2,7 +2,7 @@
2
2
  require File.expand_path('../lib/bindi/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ['Havenwood']
5
+ gem.authors = ['Shannon Skipper']
6
6
  gem.email = ['shannonskipper@gmail.com']
7
7
  gem.description = %q{A DSL for saving Ruby Objects to Redis.}
8
8
  gem.summary = %q{Bindi is a DSL that marshals Ruby Objects and saves them to Redis using Ohm.}
@@ -1,3 +1,3 @@
1
1
  class Bindi
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bindi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Havenwood
8
+ - Shannon Skipper
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-25 00:00:00.000000000 Z
12
+ date: 2012-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ohm