gameon 0.0.0.pre63 → 0.0.0.pre64

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 +0 -23
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8336f9eae50f71727948d9698e9af33d55448a0
4
- data.tar.gz: d1a05b2a3e5b00306fcbf87d7ea3681a1ff9acd7
3
+ metadata.gz: 57c688255a963fa32d647c836641284a064f57e9
4
+ data.tar.gz: ba6670431800a35927805a4486b2b8d006ea58ba
5
5
  SHA512:
6
- metadata.gz: b204e96276d4c9dd873d98d92d25a2099aea01dcbbe2bb01731fa4c2e58bddf8b1680478b4a08e5f4a3c67db3fbd585f9a4463683c88d051a97eb46081fbe719
7
- data.tar.gz: 0021766978311f1544b7370d0a22cf259d76121fd5936c4e77404485e3f44ae918e66da1a65e4e975bc5105d6ecec54ca46d8d58f450e3dfaf1f61423556f0ef
6
+ metadata.gz: d28347fdd7b8e6c2027962be76699b5b939060d54d9b654c0f37eec45db7dae5ff5c2d428b93d0144b178c5f057bdd52dfc34599bce8f1b8e27ac6bf61d5a066
7
+ data.tar.gz: d42ac05015979f7ff8090112cf992fec76efb95b6eda615c142d9405f1f1fe46ef833458ba0fa2cd8cedc7684af13bcccd8b73679950d15405ff9db2e1003947
data/lib/gameon/base.rb CHANGED
@@ -22,32 +22,10 @@ module GameOn
22
22
  Mushin::DSL.middlewares
23
23
  end
24
24
  end
25
- =begin
26
- module Engine
27
- extend Mushin::Engine
28
- attr_accessor :middlewares, :stack
29
- def self.run domain_context, activity
30
- @@middlewares = GameOn::DSL.find domain_context, activity
31
- @stack = Mushin::Middleware::Builder.new do
32
- @@middlewares.each do |middleware|
33
- p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
34
- use middleware.name, middleware.opts, middleware.params
35
- end
36
- end
37
- @setup_middlewares.each do |setup_middleware|
38
- @stack.insert_before 0, setup_middleware
39
- end
40
- @stack.call
41
- @@middlewares = []
42
- end
43
- end
44
- =end
45
25
  module Engine
46
26
  extend Mushin::Engine
47
27
  class << self
48
- #attr_accessor :middlewares, :stack
49
28
  def run domain_context, activity
50
- #@middlewares = GameOn::DSL.find domain_context, activity
51
29
  @stack = Mushin::Middleware::Builder.new do
52
30
  (GameOn::DSL.find domain_context, activity).each do |middleware|
53
31
  p "Mushin Logging: use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
@@ -58,7 +36,6 @@ module GameOn
58
36
  @stack.insert_before 0, setup_middleware
59
37
  end
60
38
  @stack.call
61
- #@middlewares = []
62
39
  end
63
40
  end
64
41
  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.pre63
4
+ version: 0.0.0.pre64
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy