gameon 0.0.0.pre37 → 0.0.0.pre38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gameon/base.rb +6 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1afa98b10e47f7bfd719b9b85c98fdcf2b67fcd5
|
4
|
+
data.tar.gz: 42020e9b0b52d8d3030f71c4e9b3e2603510aac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54e6f5d65ba15f81a91671318b4fa4387dbd02fd3469cc799aa8a0b8e12697ee5e92e98b0f87f865ec28847d114d1a222acf87a79c62707c5164f00d2e0063b3
|
7
|
+
data.tar.gz: ed407dfc557d426a2f4b89ddce40da392dae1acc6575f2f1ccd06bddcd51e611ec3974636e2ef4d932eab33f618f60f65ebd2432ba6607dc77ac67addcf8b26c
|
data/lib/gameon/base.rb
CHANGED
@@ -30,8 +30,9 @@ module GameOn
|
|
30
30
|
module Env
|
31
31
|
extend Mushin::Env
|
32
32
|
class << self
|
33
|
-
|
34
|
-
|
33
|
+
#@domain_folder = 'gameon'
|
34
|
+
#attr_accessor :ds
|
35
|
+
#@ds = 'GameOn::Persistence::DS'
|
35
36
|
|
36
37
|
def get id
|
37
38
|
GameOn::Persistence::DS.load id
|
@@ -49,11 +50,11 @@ module GameOn
|
|
49
50
|
end
|
50
51
|
instance_eval(&block)
|
51
52
|
|
52
|
-
Dir["
|
53
|
+
Dir["./gameon/*"].each {|file| load file }
|
53
54
|
|
54
|
-
|
55
|
+
GameOn::Engine.setup [Object.const_get('GameOn::Persistence::DS')]
|
55
56
|
@activities.each do |activity|
|
56
|
-
|
57
|
+
GameOn::Engine.run @domain_context, activity
|
57
58
|
end
|
58
59
|
end
|
59
60
|
end
|