mushin 0.0.0.pre13 → 0.0.0.pre14

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 +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abfc2ef291564180f32630e003b474252b345fc4
4
- data.tar.gz: 3e02bff413e5811ea477074e6273e54f572d19ec
3
+ metadata.gz: 6ba092838fade8bafda76e70baee4244259e58c6
4
+ data.tar.gz: 760719f68e94cc88f2392098cee9e62b3abe4bba
5
5
  SHA512:
6
- metadata.gz: e6f5523b019424be4abb820b8bfc24a840eca8555d98c6fe0e183764a2c6a604aef049a2ecc69b8c701c1fdbfcca536759d0a02113a1cbe0ef2659016d6a39f3
7
- data.tar.gz: 09f7f9ec04638be3868ad2b807d7df7f068998775609533c05a1452654f15162e0b242105589b7869646db580d5090ec95f20428544f7a244dbe5960e840abad
6
+ metadata.gz: 1761e214a4d1d30bc6fbac892365da0b08222ed4ce7f804af75cf0f807922b618544a70f5b43e8253681dfee0d7e0fcb1a82c56c1d293d86c4871c77ff0a2894
7
+ data.tar.gz: d0c6e0037c93d3a8fb77828d9935ca6aac24fb9568323555293e848db677cb80548e9ed614716dbdcf29b921b84390804c99ee6e4becec7954e267dff1f0e8e5
data/lib/mushin/base.rb CHANGED
@@ -95,6 +95,10 @@ module Mushin
95
95
  class_eval &block
96
96
  end
97
97
 
98
+ def Env.persistence ds
99
+ @@ds = ds
100
+ end
101
+
98
102
  def Env.activate id, &block
99
103
  @id = id
100
104
  def self.on domain_context, &block
@@ -106,7 +110,7 @@ module Mushin
106
110
  instance_eval(&block)
107
111
  end
108
112
  instance_eval(&block)
109
- Mushin::Engine.setup [GameOn::Persistence::DS]
113
+ Mushin::Engine.setup @@ds
110
114
  @@activities.each do |activity|
111
115
  #Mushin::Engine.setup [GameOn::Persistence::DS]
112
116
  Mushin::Engine.run @@domain_context, activity
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.pre13
4
+ version: 0.0.0.pre14
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy