gameon 0.0.0.pre76 → 0.0.0.pre77
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gameon/base.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc813e3ec5b0c22c658a3735d1133f497e2840ab
|
4
|
+
data.tar.gz: 27cb4c913aa25b73999e0aaedfe48e22ca1d59e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1252c289f4a2f22692db4c642c8d4db707a1d027cc3d14e4d4d8743c92dc26d624c598a1370590b10f1cede1711ef432f087a5adf4146f593a0702744e93d9a
|
7
|
+
data.tar.gz: bd20b0c4e8b029f67ab9c826d21e20326fd6faac0d016973158b2af14d846c8a6f17c20085f391b50b868ae03306bfb8065cb0aef777d9c45946492b59c6247e
|
data/lib/gameon/base.rb
CHANGED
@@ -19,8 +19,7 @@ module GameOn
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
|
-
|
23
|
-
Mushin::DSL.middlewares.uniq! #TODO does this fix the bug?
|
22
|
+
Mushin::DSL.middlewares
|
24
23
|
end
|
25
24
|
end
|
26
25
|
|
@@ -31,7 +30,7 @@ module GameOn
|
|
31
30
|
def run domain_context, activity
|
32
31
|
#@middlewares = GameOn::DSL.find domain_context, activity
|
33
32
|
@stack = Mushin::Middleware::Builder.new do
|
34
|
-
(GameOn::DSL.find domain_context, activity).each do |middleware|
|
33
|
+
(GameOn::DSL.find domain_context, activity).uniq!.each do |middleware|
|
35
34
|
p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
36
35
|
use middleware.name, middleware.opts, middleware.params
|
37
36
|
end
|