mushin 0.0.0.pre11 → 0.0.0.pre12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mushin/base.rb +1 -37
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fde05e6ae369f23fbce12c733f4501a756cbbf6a
4
- data.tar.gz: 914ef424ab19730468d800babc0077ed3d082c25
3
+ metadata.gz: 69c4849ab80cb7ffc74416803b51ecd4b24ad415
4
+ data.tar.gz: 7bc1fd7dbfa0a41611ef55865c4dc3b64da6913a
5
5
  SHA512:
6
- metadata.gz: e50a89ed803083cce60a4764b282ec14c85ea86b4b71d20897fb42538ab12f8fc4bfbffa380e30c681b89250326585dcc4e71701ac78ef6077df71c57581f026
7
- data.tar.gz: 36c9e96a0045a484c477e86a256d3065670efa9804a9ff1b3cd60f67e34578bd07603369d1a9930e00321e3f418714a614343340837edac345a5dcc342914869
6
+ metadata.gz: 93215756028220250ce90316749905e8360eddafe65486351f167b07e67024b3c30e0cf89ff472df1f23c76f6af0eb916de8bf8af9e3c704ae236e11fddeb093
7
+ data.tar.gz: 6d7fccffab091c3117d7aa191fc9d06b761e5692bbf7375f28d3866adf3a78ae6a2d0ffa6a1312640f8a391473934118caa971c3be72b55eda565b32fb7ecbc8
data/lib/mushin/base.rb CHANGED
@@ -51,10 +51,6 @@ module Mushin
51
51
  end
52
52
  end
53
53
  end
54
- #@@middlewares.each do |middleware|
55
- # p "use #{middleware.name}, #{middleware.opts}, #{middleware.params}"
56
- #use middleware.name, middleware.opts, middleware.params
57
- #end
58
54
  @@middlewares
59
55
  end
60
56
 
@@ -88,38 +84,6 @@ module Mushin
88
84
  alias_method context_construct, :context
89
85
  end
90
86
  end
91
-
92
- =begin
93
- class Activities
94
- def self.on domain_context, &block
95
-
96
- @@domain_context = domain_context
97
- @@activities = []
98
-
99
- def add activity=[]
100
- @@activities += [activity]
101
- end
102
-
103
- yield Activities.new
104
-
105
- def self.construction game, activity
106
- Mushin::Engine.run game, activity
107
- end
108
-
109
- @@activities.each do |activity|
110
- self.construction @@domain_context, activity
111
- end
112
- end
113
-
114
- def self.domain_context
115
- @@domain_context
116
- end
117
-
118
- def self.all
119
- @@activities
120
- end
121
- end
122
- =end
123
87
  end
124
88
 
125
89
  class Env
@@ -143,7 +107,7 @@ module Mushin
143
107
  end
144
108
  instance_eval(&block)
145
109
  @@activities.each do |activity|
146
- Mushin::Engine.setup [GameOn::Persistence::DS]
110
+ #Mushin::Engine.setup [GameOn::Persistence::DS]
147
111
  Mushin::Engine.run @@domain_context, activity
148
112
  end
149
113
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mushin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre11
4
+ version: 0.0.0.pre12
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy