gameon 0.0.0.pre42 → 0.0.0.pre43
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: 194fd64375b431a04168450ada3d081363d31dff
|
4
|
+
data.tar.gz: 157104c385a450ff89462ab1efdd542e422b2d79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e6fc0184a9643f031e5153591e64c1216c5e94d0e3afbed9f525e7991ba2972f610e4bfcf45ac1c32ad67afe51ef7f15ca11391de2da54d9bdb19dbd76b7791
|
7
|
+
data.tar.gz: 408ee2422656279e8eae4d6a6e37e98b83397821156c6d32c55c91b5fc03694ec5856e8bbf2d151ac30a46ab97f9a8948a39e417bca3ec097d09afe58984b5bc
|
data/lib/gameon/base.rb
CHANGED
@@ -27,9 +27,10 @@ module GameOn
|
|
27
27
|
extend Mushin::Engine
|
28
28
|
attr_accessor :middlewares, :stack
|
29
29
|
def self.run domain_context, activity
|
30
|
-
|
30
|
+
@@middlewares = GameOn::DSL.find domain_context, activity
|
31
|
+
p @middlewares
|
31
32
|
@stack = Mushin::Middleware::Builder.new do
|
32
|
-
|
33
|
+
@@middlewares.each do |middleware|
|
33
34
|
p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
34
35
|
use middleware.name, middleware.opts, middleware.params
|
35
36
|
end
|