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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gameon/base.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b2d74e0deb17b1a0597e5f8fcb4fe91f4d01ce4
4
- data.tar.gz: 8330082c1308cc65966f45a27019c687e9e25d71
3
+ metadata.gz: ee3cea3ee5faaf0bd8ade7b86ce08fc5d32a91b1
4
+ data.tar.gz: 7fcbee430faf64a12e978b9c4d28c087921e0bea
5
5
  SHA512:
6
- metadata.gz: c2e64ec69db3e777a9fe54ec815b85d44bf6587a66fc943630d5c568b8a058afc0dde9e88e7566284717eac52ad4abe6d81281b47d8bfcd00b5ef7dad88dd0a9
7
- data.tar.gz: 7ce8004b59f0c8c0fba236865d25528b419174cec34595e2ba460c94e4a3bb4bb76585e77985bc48e2ec73d5c22626fb725eadfa05c890697c48149d2180cd71
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre132
4
+ version: 0.0.0.pre133
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy