gameon 0.0.0.pre90 → 0.0.0.pre91
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 -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: 3b4e26dc922eb4f288628a879521738a4c8df3d9
|
4
|
+
data.tar.gz: 8421db6e55319ef12c18b9ab69bcf5c1a5a45cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eacb29fb03859aabc1cb83fd0e7b71d594f7f4c15328b8432737f578a50650c0dd5eebdd2917710d95c085c7b475696c3874d424f5b05dd3303571d7c3894f3
|
7
|
+
data.tar.gz: 5258fecdeae624afdfa082b3426eae1ead16ba52a2b6a4253f3759ff2b03f6c19f3b01351b7a82ac0660ad73b406b093cdaf6e7fddf1b292c4cf8b23596c44af
|
data/lib/gameon/base.rb
CHANGED
@@ -19,6 +19,8 @@ module GameOn
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
|
+
p "$$$$$$$$$$$$$$$$$$$$$$$$$$$"
|
23
|
+
p Mushin::DSL.middlewares
|
22
24
|
Mushin::DSL.middlewares
|
23
25
|
end
|
24
26
|
end
|
@@ -30,7 +32,7 @@ module GameOn
|
|
30
32
|
def run domain_context, activity
|
31
33
|
#@middlewares = GameOn::DSL.find domain_context, activity
|
32
34
|
stack = Mushin::Middleware::Builder.new do
|
33
|
-
(GameOn::DSL.find domain_context, activity).each do |middleware|
|
35
|
+
(GameOn::DSL.find domain_context, activity).uniq.each do |middleware|
|
34
36
|
p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
35
37
|
use middleware.name, middleware.opts, middleware.params
|
36
38
|
end
|
@@ -70,8 +72,6 @@ module GameOn
|
|
70
72
|
@activities.uniq.each do |activity|
|
71
73
|
GameOn::Engine.run @domain_context, activity
|
72
74
|
end
|
73
|
-
p "$$$$$$$$$$$$$$$$$$$$$$$$$$"
|
74
|
-
p @activities
|
75
75
|
#@activities = [] # reset the activities
|
76
76
|
return GameOn::Persistence::DS.load @id
|
77
77
|
end
|