gameon 0.0.0.pre81 → 0.0.0.pre82
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 -6
- 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: 86040ea8ac977fd37200360d4d5643fec19fd04d
|
4
|
+
data.tar.gz: 79b9d24982a48fb21e5f3adee53cefc1205f84e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 413c4130b2dfadc4a4cb000d0225874570b751e2822940cc1dcb294814e2c8813dcb61af6d7dcef020a9b1650e9a7338e71667fabbd4f314a396d2f97df7fe40
|
7
|
+
data.tar.gz: ee5f4663ae1800184dccc3f514928a8f5df2e182e5129c3cf7ee6a003689cb2d4ea9ce15a3038d4aab24746c25628ef7e7e0f03bafacd6b5ba5d72e2896f75c4
|
data/lib/gameon/base.rb
CHANGED
@@ -41,7 +41,7 @@ module GameOn
|
|
41
41
|
@stack.insert_before 0, setup_middleware
|
42
42
|
end
|
43
43
|
@stack.call
|
44
|
-
@stack =
|
44
|
+
@stack.stack = []
|
45
45
|
#@middlewares = []
|
46
46
|
end
|
47
47
|
end
|
@@ -64,8 +64,6 @@ module GameOn
|
|
64
64
|
@activities = []
|
65
65
|
def activity statment
|
66
66
|
@activities << statment
|
67
|
-
#@activities.uniq!
|
68
|
-
#@activities += [statment]
|
69
67
|
end
|
70
68
|
instance_eval(&block)
|
71
69
|
end
|
@@ -73,9 +71,6 @@ module GameOn
|
|
73
71
|
|
74
72
|
Dir["./gameon/*"].each {|file| load file }
|
75
73
|
GameOn::Engine.setup [Object.const_get('GameOn::Persistence::DS')]
|
76
|
-
p @activities
|
77
|
-
@activities.uniq!
|
78
|
-
p @activities
|
79
74
|
@activities.each do |activity|
|
80
75
|
GameOn::Engine.run @domain_context, activity
|
81
76
|
end
|