gameon 0.0.0.pre44 → 0.0.0.pre45
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 +1 -1
- 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: ee3ed596b8425789088fbeca10ebce1507c86125
|
4
|
+
data.tar.gz: 48f42da37b6fc55f91f8dd1351d09c1ad5a599da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3072bf49284c6adf5fb2999fda22baf4f2ee6a85da17b3ad44ca3ef6243e32871a0be864806c86a4d65ef54d34708bcbd4d3095b7f8025cd9f17394301ab81ac
|
7
|
+
data.tar.gz: 89db92c5843a5c249c82333fc391086874339b38fe8e4e36a607acaa5cc53047a0f6d1d09875f5a2814899683d2130f1fcdf4f4c4c7a920e2afc09108ddbdb21
|
data/lib/gameon/base.rb
CHANGED
@@ -28,7 +28,6 @@ module GameOn
|
|
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
|
32
31
|
@stack = Mushin::Middleware::Builder.new do
|
33
32
|
@@middlewares.each do |middleware|
|
34
33
|
p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
@@ -39,6 +38,7 @@ module GameOn
|
|
39
38
|
@stack.insert_before 0, setup_middleware
|
40
39
|
end
|
41
40
|
@stack.call
|
41
|
+
@@middlewares = []
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|