gameon 0.0.0.pre76 → 0.0.0.pre77

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 +2 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1755e44d192771bb5b1d17d4e5f6ea3b6f2a0485
4
- data.tar.gz: 7fdbce6fd59df754eda23043a68eecaa1717880b
3
+ metadata.gz: dc813e3ec5b0c22c658a3735d1133f497e2840ab
4
+ data.tar.gz: 27cb4c913aa25b73999e0aaedfe48e22ca1d59e2
5
5
  SHA512:
6
- metadata.gz: f9c5d8ade1b8148e527c1b29a082daa73bbefc4932c55d723cd499b857ffb97686291ad76ca681d6a6f7ae68d54520be495d4c3d6055d64050f6346450adc8d6
7
- data.tar.gz: 7dd2c80ca53c79abdc3aa872b120acc9ef9d70848710f95d51143f4da9aaf5e2a3d787498d65c346ab84432344c4e34108d561e9dbea0e7f79c2962592f43de7
6
+ metadata.gz: b1252c289f4a2f22692db4c642c8d4db707a1d027cc3d14e4d4d8743c92dc26d624c598a1370590b10f1cede1711ef432f087a5adf4146f593a0702744e93d9a
7
+ data.tar.gz: bd20b0c4e8b029f67ab9c826d21e20326fd6faac0d016973158b2af14d846c8a6f17c20085f391b50b868ae03306bfb8065cb0aef777d9c45946492b59c6247e
data/lib/gameon/base.rb CHANGED
@@ -19,8 +19,7 @@ module GameOn
19
19
  end
20
20
  end
21
21
  end
22
- #Mushin::DSL.middlewares
23
- Mushin::DSL.middlewares.uniq! #TODO does this fix the bug?
22
+ Mushin::DSL.middlewares
24
23
  end
25
24
  end
26
25
 
@@ -31,7 +30,7 @@ module GameOn
31
30
  def run domain_context, activity
32
31
  #@middlewares = GameOn::DSL.find domain_context, activity
33
32
  @stack = Mushin::Middleware::Builder.new do
34
- (GameOn::DSL.find domain_context, activity).each do |middleware|
33
+ (GameOn::DSL.find domain_context, activity).uniq!.each do |middleware|
35
34
  p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
36
35
  use middleware.name, middleware.opts, middleware.params
37
36
  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.pre76
4
+ version: 0.0.0.pre77
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy