gameon 0.0.0.pre87 → 0.0.0.pre88

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 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed8e77b06194b70fca196c091944bfc8ca224c7e
4
- data.tar.gz: 14eef7ac4623fb7ec00a2c48a6723394a115cc58
3
+ metadata.gz: 3b4adcb50ad1e52983878fdf34d6e0cc2cf58154
4
+ data.tar.gz: d221411857b85d88f7b2ca3411497a83496253bf
5
5
  SHA512:
6
- metadata.gz: 0d0fa3ab6284f2370a74e17d62dfdbc1f70307e258a96ce2e0db78c9474fb1423115f1353285d9dd31388ac4f67bbd477251471cbc0070e4d1626f3854f51203
7
- data.tar.gz: a831c5f4e3b1dc55f0f0588310ddc326dd2c449035dc16b83831d844296486613f85d2f8e6d6b466850f8cd8ac772a1eeeccb0ab053504440990ed9f0efc7949
6
+ metadata.gz: b8429b8d93ad9abf78dea7a8def185924cc85142205460a33e7bbf7f91496b946f244edb6725f88016489e14466e38bfd1a6419a6c702011d99814288b018d60
7
+ data.tar.gz: cab667717881aea0bd227254af3e668139b8fbefed32d37430d81a88d0e3c6bc2b5b80a720e98c7cebfbd6d85458a0709c7e11594e76dc33653aafabf8d57dc6
data/lib/gameon/base.rb CHANGED
@@ -12,16 +12,14 @@ module GameOn
12
12
  if activity_context == current_context.title
13
13
  current_context.statments.each do |statment|
14
14
  if activity_statment == statment.title
15
- statment.activations.each do |middleware|
15
+ statment.activations.uniq.each do |middleware|
16
16
  Mushin::DSL.middlewares << middleware
17
17
  end
18
18
  end
19
19
  end
20
20
  end
21
21
  end
22
- Mushin::DSL.middlewares.uniq!
23
- p Mushin::DSL.middlewares
24
- return Mushin::DSL.middlewares
22
+ Mushin::DSL.middlewares
25
23
  end
26
24
  end
27
25
 
@@ -41,7 +39,6 @@ module GameOn
41
39
  stack.insert_before 0, setup_middleware
42
40
  end
43
41
  stack.call
44
- #@middlewares = []
45
42
  end
46
43
  end
47
44
  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.pre87
4
+ version: 0.0.0.pre88
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy