gameon 0.0.0.pre90 → 0.0.0.pre91

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 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6b201c9564978b2095829142ff95f7f4dd3dc21
4
- data.tar.gz: 8fee3eb6a0d1eb53084a38dff299443e6ad10ba3
3
+ metadata.gz: 3b4e26dc922eb4f288628a879521738a4c8df3d9
4
+ data.tar.gz: 8421db6e55319ef12c18b9ab69bcf5c1a5a45cbe
5
5
  SHA512:
6
- metadata.gz: d5212cf0730c55b3574fab3b52e896a6308cff6b2cc985daa326329fe742f789d5976546fdda42da7842af816406a6f0cf0751a0f099755cf5a4150fc3c62933
7
- data.tar.gz: 92fcbb2ca855c4bb5936c414d1896cdace29c5b0380f3c0206f5637549cf5e8c3a0fd0d2ea79dcbe879443302d9dd36d2e71ae055744398122eade80fda1add3
6
+ metadata.gz: 4eacb29fb03859aabc1cb83fd0e7b71d594f7f4c15328b8432737f578a50650c0dd5eebdd2917710d95c085c7b475696c3874d424f5b05dd3303571d7c3894f3
7
+ data.tar.gz: 5258fecdeae624afdfa082b3426eae1ead16ba52a2b6a4253f3759ff2b03f6c19f3b01351b7a82ac0660ad73b406b093cdaf6e7fddf1b292c4cf8b23596c44af
data/lib/gameon/base.rb CHANGED
@@ -19,6 +19,8 @@ module GameOn
19
19
  end
20
20
  end
21
21
  end
22
+ p "$$$$$$$$$$$$$$$$$$$$$$$$$$$"
23
+ p Mushin::DSL.middlewares
22
24
  Mushin::DSL.middlewares
23
25
  end
24
26
  end
@@ -30,7 +32,7 @@ module GameOn
30
32
  def run domain_context, activity
31
33
  #@middlewares = GameOn::DSL.find domain_context, activity
32
34
  stack = Mushin::Middleware::Builder.new do
33
- (GameOn::DSL.find domain_context, activity).each do |middleware|
35
+ (GameOn::DSL.find domain_context, activity).uniq.each do |middleware|
34
36
  p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
35
37
  use middleware.name, middleware.opts, middleware.params
36
38
  end
@@ -70,8 +72,6 @@ module GameOn
70
72
  @activities.uniq.each do |activity|
71
73
  GameOn::Engine.run @domain_context, activity
72
74
  end
73
- p "$$$$$$$$$$$$$$$$$$$$$$$$$$"
74
- p @activities
75
75
  #@activities = [] # reset the activities
76
76
  return GameOn::Persistence::DS.load @id
77
77
  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.pre90
4
+ version: 0.0.0.pre91
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy