gameon 0.0.0.pre50 → 0.0.0.pre51
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 +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82f5e124120ad39e4c825ce00a77f643c5702d37
|
4
|
+
data.tar.gz: 07920bcc986f86a88802f2f19a0f4c09e74506bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d3ae79b9df1ce8554085d6d6df2b6036fa0c481398a0eddc34356fa850a9f63739c6467436758e92a777c62ea42ec17a4d0f9732025f1c868c54343f5b07b6a
|
7
|
+
data.tar.gz: d98156b929dd4a59e6f7fa5af7cd47e7cae899f98665bd680d77ba21e50d84cbf73d7a92a098d238c86aba5ffd4dec795189763e151774b57a8f85b75f4b24f9
|
data/lib/gameon/base.rb
CHANGED
@@ -45,16 +45,16 @@ module GameOn
|
|
45
45
|
#module Env
|
46
46
|
class Env
|
47
47
|
extend Mushin::Env
|
48
|
-
|
48
|
+
#class << self
|
49
49
|
#@domain_folder = 'gameon'
|
50
50
|
#attr_accessor :ds
|
51
51
|
#@ds = 'GameOn::Persistence::DS'
|
52
52
|
|
53
|
-
def
|
53
|
+
def get id
|
54
54
|
GameOn::Persistence::DS.load id
|
55
55
|
end
|
56
56
|
|
57
|
-
def
|
57
|
+
def set id, &block
|
58
58
|
@id = id
|
59
59
|
def on domain_context, &block
|
60
60
|
@domain_context = domain_context
|
@@ -72,7 +72,7 @@ module GameOn
|
|
72
72
|
@activities.each do |activity|
|
73
73
|
GameOn::Engine.run @domain_context, activity
|
74
74
|
end
|
75
|
-
#return GameOn::Env.get @id
|
76
75
|
end
|
76
|
+
return get @id
|
77
77
|
end
|
78
78
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gameon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.
|
4
|
+
version: 0.0.0.pre51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- theotherstupidguy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: a gamification framework based on mushin
|
14
14
|
email:
|