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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gameon/base.rb +6 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b13508a6919b9f8f63aa3bec06ed85d8f885866
4
- data.tar.gz: 8f5495c75276c282c9bb7051e398c0cfc6887e58
3
+ metadata.gz: 1afa98b10e47f7bfd719b9b85c98fdcf2b67fcd5
4
+ data.tar.gz: 42020e9b0b52d8d3030f71c4e9b3e2603510aac8
5
5
  SHA512:
6
- metadata.gz: 8d001808fad25892bf214a4760d738323946a3fea675615dd8f60b2480470aa9470476f17b972dae76501606a183edd163185bfb857789f18406e8dbf54cca9d
7
- data.tar.gz: 51bd413f64c81176a98c6190da9a4e332226253df98639be0ffa840976ca4016eb21ebc1c34aaa699240519242f425e41256289392e450e0095da0b44c5dbf17
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
- @domain_folder = 'gameon'
34
- @ds = 'GameOn::Persistence::DS'
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["./#{@domain_folder}/*"].each {|file| load file }
53
+ Dir["./gameon/*"].each {|file| load file }
53
54
 
54
- Mushin::Engine.setup [Object.const_get(@@ds)]
55
+ GameOn::Engine.setup [Object.const_get('GameOn::Persistence::DS')]
55
56
  @activities.each do |activity|
56
- Mushin::Engine.run @domain_context, activity
57
+ GameOn::Engine.run @domain_context, activity
57
58
  end
58
59
  end
59
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre37
4
+ version: 0.0.0.pre38
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy