gameon 0.0.0.pre84 → 0.0.0.pre85

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 +7 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8f27b8771a94c7852830aec25289ca95178e740
4
- data.tar.gz: 8e4c70d4c2a4c611df1d8c936104a8873c4c37c6
3
+ metadata.gz: 322bc0ceb38981adfcbff70125f7aa5c3b5ba5e0
4
+ data.tar.gz: dba8726a5857e11467005402bcba17fb007eecc0
5
5
  SHA512:
6
- metadata.gz: f9551a70dab3fad04e5964e1b7376517b3b6be0a16980d2d2ef333e49d1ea5fd50e20e61d388a292a986052eb40ee90828033594dbd981f527ced8eb2bbe5b40
7
- data.tar.gz: 04c136a4c1db1e39c5c1fa970dfbccb3b995124189c9167213cedf7cc026227211ca4853706b9dd353154f312f9bceb633529193242a22196d30a6a0c205277b
6
+ metadata.gz: 2b27ccdf67964376ee11c9fcb0242709395cbf975edb5a58a5f7b5b3146b082c7a67daa2b9a97c3fe837d104ef7fc9cf8365c70b9ba246732a1d1c60b67bd630
7
+ data.tar.gz: 3754ed8c025b2e822610b12ff1f129e08c836babead4c0791386015ca7e398a37034cdca971d807345ccfb70ceef1cb99ba9ac929e914260f39d2738429fb0e1
data/lib/gameon/base.rb CHANGED
@@ -41,7 +41,13 @@ module GameOn
41
41
  @stack.insert_before 0, setup_middleware
42
42
  end
43
43
  @stack.call
44
- @stack.delete middleware.name, middleware.opts, middleware.params
44
+ @stack = Mushin::Middleware::Builder.new do
45
+ (GameOn::DSL.find domain_context, activity).each do |middleware|
46
+ p "GameOn Logging: delete #{middleware.name}, #{middleware.opts}, #{middleware.params}"
47
+ delete middleware.name, middleware.opts, middleware.params
48
+ end
49
+ end
50
+ @stack.call
45
51
  #@middlewares = []
46
52
  end
47
53
  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.pre84
4
+ version: 0.0.0.pre85
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy