gameon 0.0.0.pre62 → 0.0.0.pre63

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 +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 878ad3632ba39992f2e4c9d502d5e15268afc1d4
4
- data.tar.gz: fb5d525abff0ba3397897a8871369372a2954a18
3
+ metadata.gz: c8336f9eae50f71727948d9698e9af33d55448a0
4
+ data.tar.gz: d1a05b2a3e5b00306fcbf87d7ea3681a1ff9acd7
5
5
  SHA512:
6
- metadata.gz: b168afdf9a514c6ae91f0d1dba9a3fcf302c5d5e58cb14aa51e28e850dcca458a8f310bf03441b85473cc4379f42961b0b44135c53cdede5f973ade50ffb13b5
7
- data.tar.gz: 353def210a4ca3962ebe9b177afc5e91c0ed1346b40976d289427a721c55427554524e9b687a2afc173c267c0e296a9cd1e145f78225add865877d3779660314
6
+ metadata.gz: b204e96276d4c9dd873d98d92d25a2099aea01dcbbe2bb01731fa4c2e58bddf8b1680478b4a08e5f4a3c67db3fbd585f9a4463683c88d051a97eb46081fbe719
7
+ data.tar.gz: 0021766978311f1544b7370d0a22cf259d76121fd5936c4e77404485e3f44ae918e66da1a65e4e975bc5105d6ecec54ca46d8d58f450e3dfaf1f61423556f0ef
data/lib/gameon/base.rb CHANGED
@@ -45,11 +45,11 @@ module GameOn
45
45
  module Engine
46
46
  extend Mushin::Engine
47
47
  class << self
48
- attr_accessor :middlewares, :stack
48
+ #attr_accessor :middlewares, :stack
49
49
  def run domain_context, activity
50
- @middlewares = GameOn::DSL.find domain_context, activity
50
+ #@middlewares = GameOn::DSL.find domain_context, activity
51
51
  @stack = Mushin::Middleware::Builder.new do
52
- @middlewares.each do |middleware|
52
+ (GameOn::DSL.find domain_context, activity).each do |middleware|
53
53
  p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
54
54
  use middleware.name, middleware.opts, middleware.params
55
55
  end
@@ -58,7 +58,7 @@ module GameOn
58
58
  @stack.insert_before 0, setup_middleware
59
59
  end
60
60
  @stack.call
61
- @middlewares = []
61
+ #@middlewares = []
62
62
  end
63
63
  end
64
64
  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.pre62
4
+ version: 0.0.0.pre63
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy