allora 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/allora/backend/redis.rb +5 -1
- data/lib/allora/version.rb +1 -1
- metadata +4 -4
data/lib/allora/backend/redis.rb
CHANGED
@@ -67,7 +67,11 @@ module Allora
|
|
67
67
|
def create_redis(opts)
|
68
68
|
return opts[:client] if opts.key?(:client)
|
69
69
|
|
70
|
-
::Redis.new(
|
70
|
+
::Redis.new(
|
71
|
+
:host => opts.fetch(:host, "localhost"),
|
72
|
+
:port => opts.fetch(:port, 6379),
|
73
|
+
:thread_safe => true
|
74
|
+
)
|
71
75
|
end
|
72
76
|
|
73
77
|
# Forces all job data to be re-entered into Redis at the next poll
|
data/lib/allora/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
16
|
-
requirement: &
|
16
|
+
requirement: &70314336266220 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70314336266220
|
25
25
|
description: ! "Allora (Italian for \"at that time\") provides a replacement for the
|
26
26
|
classic UNIX\n cron, using nothing but ruby. It is very small,
|
27
27
|
easy to follow and relatively\n feature-light. It does support
|