activist 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/activist.rb +0 -1
- data/lib/activist/redis.rb +1 -6
- data/lib/activist/version.rb +1 -1
- data/spec/setup.rb +1 -2
- metadata +1 -1
data/lib/activist.rb
CHANGED
data/lib/activist/redis.rb
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
module Activist
|
2
2
|
class Redis
|
3
|
-
include ActiveSupport::Configurable
|
4
|
-
|
5
|
-
config_accessor :host, :port, :db
|
6
|
-
|
7
3
|
def self.execute
|
8
|
-
@
|
9
|
-
@redis ||= ::Redis::Namespace.new(:activist, :redis => @connection)
|
4
|
+
@redis ||= ::Redis::Namespace.new(:activist, :redis => REDIS)
|
10
5
|
end
|
11
6
|
end
|
12
7
|
end
|
data/lib/activist/version.rb
CHANGED
data/spec/setup.rb
CHANGED