gameon 0.0.0.pre86 → 0.0.0.pre87

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 +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ab597bd12bfdd166ca0e5be30c47e1b262dc4b9
4
- data.tar.gz: 44aa046e66a21d0f9e28178bcc223b6f021bef23
3
+ metadata.gz: ed8e77b06194b70fca196c091944bfc8ca224c7e
4
+ data.tar.gz: 14eef7ac4623fb7ec00a2c48a6723394a115cc58
5
5
  SHA512:
6
- metadata.gz: 074b4d5eb3955597e4cf529f49fa568a7487d43294a83d963c6b352a861e89d24cf2df136d811e1fa0b8b899a0a1aa5fa732c155a75a3427fce9403d9873435a
7
- data.tar.gz: 4fbee4a215008081d6a1d1a221cb796d3c0d5ddaa8a5f1e04a762c33c51880c51e9967f2f5bba808c0fdc04c5b553cb7fecb42a929eb2a9f2788a34e7c426f67
6
+ metadata.gz: 0d0fa3ab6284f2370a74e17d62dfdbc1f70307e258a96ce2e0db78c9474fb1423115f1353285d9dd31388ac4f67bbd477251471cbc0070e4d1626f3854f51203
7
+ data.tar.gz: a831c5f4e3b1dc55f0f0588310ddc326dd2c449035dc16b83831d844296486613f85d2f8e6d6b466850f8cd8ac772a1eeeccb0ab053504440990ed9f0efc7949
data/lib/gameon/base.rb CHANGED
@@ -31,16 +31,16 @@ module GameOn
31
31
  #attr_accessor :middlewares, :stack
32
32
  def run domain_context, activity
33
33
  #@middlewares = GameOn::DSL.find domain_context, activity
34
- @stack = Mushin::Middleware::Builder.new do
34
+ stack = Mushin::Middleware::Builder.new do
35
35
  (GameOn::DSL.find domain_context, activity).each do |middleware|
36
36
  p "GameOn Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
37
37
  use middleware.name, middleware.opts, middleware.params
38
38
  end
39
39
  end
40
40
  @setup_middlewares.each do |setup_middleware|
41
- @stack.insert_before 0, setup_middleware
41
+ stack.insert_before 0, setup_middleware
42
42
  end
43
- @stack.call
43
+ stack.call
44
44
  #@middlewares = []
45
45
  end
46
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre86
4
+ version: 0.0.0.pre87
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2014-08-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: a gamification framework based on mushin
14
14
  email: