gameon 0.0.0.pre77 → 0.0.0.pre78
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 +3 -2
- 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: 7efddb003e899c05037bb9d6e511667783827972
|
4
|
+
data.tar.gz: e075fbdfe5774326403206c9da352c0fe912d797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda52715d9242bd8643b1efb250636107e7bb11add092364a16199b6f41c11801e755a1be45f329bf40a7137b3d256c8672cfe7f4410b75b4bb41e3b0a9929c8
|
7
|
+
data.tar.gz: c461404c292550da1fbdb9193d8fdba9836095c49ad349f5ae72ae704e2e92eb4bf37fd9d0820053101bc2ce1764013e1b2a1593bc2475498f2be1ef65325ba3
|
data/lib/gameon/base.rb
CHANGED
@@ -19,7 +19,8 @@ module GameOn
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
|
-
Mushin::DSL.middlewares
|
22
|
+
Mushin::DSL.middlewares.uniq!
|
23
|
+
return Mushin::DSL.middlewares
|
23
24
|
end
|
24
25
|
end
|
25
26
|
|
@@ -30,7 +31,7 @@ module GameOn
|
|
30
31
|
def run domain_context, activity
|
31
32
|
#@middlewares = GameOn::DSL.find domain_context, activity
|
32
33
|
@stack = Mushin::Middleware::Builder.new do
|
33
|
-
(GameOn::DSL.find domain_context, activity).
|
34
|
+
(GameOn::DSL.find domain_context, activity).each do |middleware|
|
34
35
|
p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
35
36
|
use middleware.name, middleware.opts, middleware.params
|
36
37
|
end
|