gameon 0.0.0.pre62 → 0.0.0.pre63
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 +4 -4
- 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: c8336f9eae50f71727948d9698e9af33d55448a0
|
4
|
+
data.tar.gz: d1a05b2a3e5b00306fcbf87d7ea3681a1ff9acd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b204e96276d4c9dd873d98d92d25a2099aea01dcbbe2bb01731fa4c2e58bddf8b1680478b4a08e5f4a3c67db3fbd585f9a4463683c88d051a97eb46081fbe719
|
7
|
+
data.tar.gz: 0021766978311f1544b7370d0a22cf259d76121fd5936c4e77404485e3f44ae918e66da1a65e4e975bc5105d6ecec54ca46d8d58f450e3dfaf1f61423556f0ef
|
data/lib/gameon/base.rb
CHANGED
@@ -45,11 +45,11 @@ module GameOn
|
|
45
45
|
module Engine
|
46
46
|
extend Mushin::Engine
|
47
47
|
class << self
|
48
|
-
attr_accessor :middlewares, :stack
|
48
|
+
#attr_accessor :middlewares, :stack
|
49
49
|
def run domain_context, activity
|
50
|
-
|
50
|
+
#@middlewares = GameOn::DSL.find domain_context, activity
|
51
51
|
@stack = Mushin::Middleware::Builder.new do
|
52
|
-
|
52
|
+
(GameOn::DSL.find domain_context, activity).each do |middleware|
|
53
53
|
p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
54
54
|
use middleware.name, middleware.opts, middleware.params
|
55
55
|
end
|
@@ -58,7 +58,7 @@ module GameOn
|
|
58
58
|
@stack.insert_before 0, setup_middleware
|
59
59
|
end
|
60
60
|
@stack.call
|
61
|
-
|
61
|
+
#@middlewares = []
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|