ozy 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.md +11 -1
  2. metadata +3 -3
data/README.md CHANGED
@@ -10,11 +10,21 @@ Install using Rubygems:
10
10
 
11
11
  gem install ozy
12
12
 
13
- Then:
13
+ Configuration
14
+ ==
15
+
16
+ Start by requiring Ozy (either in your Gemfile or manually, like so):
14
17
 
15
18
  require 'rubygems'
16
19
  require 'ozy'
17
20
 
21
+ Connect to Redis
22
+ ===
23
+
24
+ Ozy will automatically try to connect to a locally running Redis, unless you tell it otherwise:
25
+
26
+ Ozy.connection = Redis.new(YAML.load_file(File.join(Rails.root, 'config', 'redis.yml'))[Rails.env].symbolize_keys)
27
+
18
28
  Usage
19
29
  ==
20
30
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ozy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Flip Sasser