gameon 0.0.0.pre77 → 0.0.0.pre78

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: dc813e3ec5b0c22c658a3735d1133f497e2840ab
4
- data.tar.gz: 27cb4c913aa25b73999e0aaedfe48e22ca1d59e2
3
+ metadata.gz: 7efddb003e899c05037bb9d6e511667783827972
4
+ data.tar.gz: e075fbdfe5774326403206c9da352c0fe912d797
5
5
  SHA512:
6
- metadata.gz: b1252c289f4a2f22692db4c642c8d4db707a1d027cc3d14e4d4d8743c92dc26d624c598a1370590b10f1cede1711ef432f087a5adf4146f593a0702744e93d9a
7
- data.tar.gz: bd20b0c4e8b029f67ab9c826d21e20326fd6faac0d016973158b2af14d846c8a6f17c20085f391b50b868ae03306bfb8065cb0aef777d9c45946492b59c6247e
6
+ metadata.gz: eda52715d9242bd8643b1efb250636107e7bb11add092364a16199b6f41c11801e755a1be45f329bf40a7137b3d256c8672cfe7f4410b75b4bb41e3b0a9929c8
7
+ data.tar.gz: c461404c292550da1fbdb9193d8fdba9836095c49ad349f5ae72ae704e2e92eb4bf37fd9d0820053101bc2ce1764013e1b2a1593bc2475498f2be1ef65325ba3
data/lib/gameon/base.rb CHANGED
@@ -19,7 +19,8 @@ module GameOn
19
19
  end
20
20
  end
21
21
  end
22
- Mushin::DSL.middlewares
22
+ Mushin::DSL.middlewares.uniq!
23
+ return Mushin::DSL.middlewares
23
24
  end
24
25
  end
25
26
 
@@ -30,7 +31,7 @@ module GameOn
30
31
  def run domain_context, activity
31
32
  #@middlewares = GameOn::DSL.find domain_context, activity
32
33
  @stack = Mushin::Middleware::Builder.new do
33
- (GameOn::DSL.find domain_context, activity).uniq!.each do |middleware|
34
+ (GameOn::DSL.find domain_context, activity).each do |middleware|
34
35
  p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
35
36
  use middleware.name, middleware.opts, middleware.params
36
37
  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.pre77
4
+ version: 0.0.0.pre78
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy