bayes_on_redis 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/bayes_on_redis.rb +1 -0
  2. metadata +3 -3
@@ -3,6 +3,7 @@ require "redis"
3
3
 
4
4
  class BayesOnRedis
5
5
  CATEGORIES_KEY = "BayesOnRedis:categories"
6
+ attr_reader :redis
6
7
 
7
8
  def initialize(options)
8
9
  @redis = Redis.new(:host => options[:redis_host], :port => options[:redis_port], :db => options[:redis_db])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bayes_on_redis
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Didip Kerabat