ledger 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,7 @@ module Ledger
8
8
 
9
9
  @@event_scope_method = :current_account
10
10
  @@event_actor_method = :current_user
11
+ @@redis = $redis
11
12
 
12
13
  class << self
13
14
  def configure
@@ -2,7 +2,7 @@ require 'nest'
2
2
  module Ledger
3
3
  module HasEvents
4
4
  def rdb
5
- Nest.new(self.class.name.downcase)[to_param]
5
+ Nest.new(self.class.name.downcase, Ledger.redis)[to_param]
6
6
  end
7
7
 
8
8
  def self.rdb
@@ -1,3 +1,3 @@
1
1
  module Ledger
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: