gameon 0.0.0.pre132 → 0.0.0.pre133
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: ee3cea3ee5faaf0bd8ade7b86ce08fc5d32a91b1
|
4
|
+
data.tar.gz: 7fcbee430faf64a12e978b9c4d28c087921e0bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1c14afe328ae56e91cdda5e74630855edebd41946791dd1ad8a9b3183802382c3e9ccf176bbb13386e492de2d083d4db2a8b20bf19eed4a0815b824c7e0cc4
|
7
|
+
data.tar.gz: 82702c8310a14c6f2c688e01f0f0e328af3f8a0a88791bfab17f0841c91cfea0d22f34c20be2cdefbf41ddb04086fd4adfbd5cdf5c8ce66f047a1ee126959a33
|
data/lib/gameon/base.rb
CHANGED
@@ -48,12 +48,13 @@ module GameOn
|
|
48
48
|
class << self
|
49
49
|
def run id, domain_context, activity
|
50
50
|
stack = Mushin::Middleware::Builder.new do
|
51
|
-
use Object.const_get('GameOn::Persistence::DS'), {}, {:id => id}
|
51
|
+
#use Object.const_get('GameOn::Persistence::DS'), {}, {:id => id}
|
52
52
|
(GameOn::DSL.find domain_context, activity).uniq.each do |middleware|
|
53
|
-
p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
53
|
+
#p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
|
54
54
|
use middleware.name, middleware.opts, middleware.params
|
55
55
|
end
|
56
56
|
end
|
57
|
+
stack.insert_before 0, Object.const_get('GameOn::Persistence::DS'), {}, {:id => id}
|
57
58
|
#@setup_middlewares.each do |setup_middleware|
|
58
59
|
# stack.insert_before 0, setup_middleware
|
59
60
|
#end
|