fairway 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fairway/connection.rb +7 -4
- data/lib/fairway/version.rb +1 -1
- metadata +2 -2
data/lib/fairway/connection.rb
CHANGED
@@ -6,10 +6,7 @@ module Fairway
|
|
6
6
|
|
7
7
|
def initialize(config = Fairway.config)
|
8
8
|
@config = config
|
9
|
-
|
10
|
-
@config.defined_queues.each do |queue|
|
11
|
-
scripts.register_queue(queue.name, queue.channel)
|
12
|
-
end
|
9
|
+
register_queues
|
13
10
|
end
|
14
11
|
|
15
12
|
def queues
|
@@ -36,6 +33,12 @@ module Fairway
|
|
36
33
|
end
|
37
34
|
end
|
38
35
|
|
36
|
+
def register_queues
|
37
|
+
@config.defined_queues.each do |queue|
|
38
|
+
scripts.register_queue(queue.name, queue.channel)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
39
42
|
def scripts
|
40
43
|
@config.scripts
|
41
44
|
end
|
data/lib/fairway/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fairway
|
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,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|