gameon 0.0.0.pre87 → 0.0.0.pre88
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 +2 -5
- 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: 3b4adcb50ad1e52983878fdf34d6e0cc2cf58154
|
4
|
+
data.tar.gz: d221411857b85d88f7b2ca3411497a83496253bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8429b8d93ad9abf78dea7a8def185924cc85142205460a33e7bbf7f91496b946f244edb6725f88016489e14466e38bfd1a6419a6c702011d99814288b018d60
|
7
|
+
data.tar.gz: cab667717881aea0bd227254af3e668139b8fbefed32d37430d81a88d0e3c6bc2b5b80a720e98c7cebfbd6d85458a0709c7e11594e76dc33653aafabf8d57dc6
|
data/lib/gameon/base.rb
CHANGED
@@ -12,16 +12,14 @@ module GameOn
|
|
12
12
|
if activity_context == current_context.title
|
13
13
|
current_context.statments.each do |statment|
|
14
14
|
if activity_statment == statment.title
|
15
|
-
statment.activations.each do |middleware|
|
15
|
+
statment.activations.uniq.each do |middleware|
|
16
16
|
Mushin::DSL.middlewares << middleware
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
|
-
Mushin::DSL.middlewares
|
23
|
-
p Mushin::DSL.middlewares
|
24
|
-
return Mushin::DSL.middlewares
|
22
|
+
Mushin::DSL.middlewares
|
25
23
|
end
|
26
24
|
end
|
27
25
|
|
@@ -41,7 +39,6 @@ module GameOn
|
|
41
39
|
stack.insert_before 0, setup_middleware
|
42
40
|
end
|
43
41
|
stack.call
|
44
|
-
#@middlewares = []
|
45
42
|
end
|
46
43
|
end
|
47
44
|
end
|