gameon 0.0.0.pre27 → 0.0.0.pre28

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 +1 -22
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be6f48507bc24c70f7a5f099166ea3be860ba7a9
4
- data.tar.gz: 52644a310d941dcd8c81b81346234dae3c18426a
3
+ metadata.gz: eaf6627a8bbc832a16281e2c22cb1d04577e90a5
4
+ data.tar.gz: 160afe5c9b28d7a929a58b93206b28274acfd382
5
5
  SHA512:
6
- metadata.gz: bc745e20b5c976f51cbe96b1a0311ce3812e833eaa701ea81ff2b94db9ab1dcfc1b6cd991a4317b4b14a201ee9d242e32041aed2165f0c60d09bc3832a8b379b
7
- data.tar.gz: d158e40cd97e8c653140c40ed56ad65e2c9024573db3571cf74ad0247d591744879410ca663950b9e27252f29821aac2b74d7e311b29fb2e149a275e088d5bb3
6
+ metadata.gz: 8e5916d6c0fd64bbf90c63b267ee1ec8fb7da3b9872d4b504a83b7b2fcc1c85db323a77c253cfd40a80c975fd04677164f63c73fa26dc3ac58d2f4f11c25b44c
7
+ data.tar.gz: 30674f2e6f4840717dcb7f8019e2fd36086541d07bb7d9397f05c3303260346b85d7ec6ff538ae22b576942fa074a0ec1bc9e2f7457d75c9bda24e8b04c04370
data/lib/gameon/base.rb CHANGED
@@ -12,28 +12,7 @@ module GameOn
12
12
 
13
13
  class Env < Mushin::Env
14
14
 
15
- def Env.set id, &block
16
- #load './gameon/mygames.rb' #TODO all files in /gameon folder
17
- Dir["./gameon/*"].each {|file| load file }
18
- @id = id
19
- def self.on domain_context, &block
20
- @@domain_context = domain_context
21
- @@activities = []
22
- def self.activity statment
23
- @@activities += [statment]
24
- end
25
- #instance_eval(&block)
26
- class_eval(&block)
27
- end
28
- #instance_eval(&block)
29
- class_eval(&block)
30
- #end
31
- #def Env.live
32
- Mushin::Engine.setup [Object.const_get(@@ds)]
33
- @@activities.each do |activity|
34
- Mushin::Engine.run @@domain_context, activity
35
- end
36
- end
15
+ @@domain_folder = "gameon"
37
16
 
38
17
  @@ds = 'GameOn::Persistence::DS'
39
18
  def Env.get id
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.pre27
4
+ version: 0.0.0.pre28
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-24 00:00:00.000000000 Z
11
+ date: 2014-05-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: a gamification framework based on mushin
14
14
  email: