gameon 0.0.0.pre42 → 0.0.0.pre43

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: 273cd1e42c3ac967d8a15f17c1a3a3ca9fd1db57
4
- data.tar.gz: 969b1e6bfb06ab1aee0690fe15b8e73b065de0c4
3
+ metadata.gz: 194fd64375b431a04168450ada3d081363d31dff
4
+ data.tar.gz: 157104c385a450ff89462ab1efdd542e422b2d79
5
5
  SHA512:
6
- metadata.gz: a6e678fba4b015008c0b97136f689323026267a8e7fd9351a3666e87858fa50477331a612ccaec769fc2ae280f1bc2745b04fa68afcb476f9cc0219c91049587
7
- data.tar.gz: 905f4a28acc916e236bde89d08cc1c6a1ef61aa4e5cd19fac14c3db55e7fa07fa46555d4a01c4b41033e1ca82e6c9e1ddbb78ad44b49b98e7c979e1e6aa7d90c
6
+ metadata.gz: 4e6fc0184a9643f031e5153591e64c1216c5e94d0e3afbed9f525e7991ba2972f610e4bfcf45ac1c32ad67afe51ef7f15ca11391de2da54d9bdb19dbd76b7791
7
+ data.tar.gz: 408ee2422656279e8eae4d6a6e37e98b83397821156c6d32c55c91b5fc03694ec5856e8bbf2d151ac30a46ab97f9a8948a39e417bca3ec097d09afe58984b5bc
data/lib/gameon/base.rb CHANGED
@@ -27,9 +27,10 @@ module GameOn
27
27
  extend Mushin::Engine
28
28
  attr_accessor :middlewares, :stack
29
29
  def self.run domain_context, activity
30
- @middlewares = GameOn::DSL.find domain_context, activity
30
+ @@middlewares = GameOn::DSL.find domain_context, activity
31
+ p @middlewares
31
32
  @stack = Mushin::Middleware::Builder.new do
32
- @middlewares.each do |middleware|
33
+ @@middlewares.each do |middleware|
33
34
  p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
34
35
  use middleware.name, middleware.opts, middleware.params
35
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.pre42
4
+ version: 0.0.0.pre43
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy