gameon 0.0.0.pre11 → 0.0.0.pre12
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 +13 -11
- 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: 1f5d5108d98d579f607fce53448d2c1decaffef3
|
4
|
+
data.tar.gz: d55bd5129399999032606ab1451f230204345de1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b4f7ee8297278c8d0bde979a7a63c97bf7217229eb72f1b79b14ce1fe4f16eed932e85235fe90251edf5b3200c278e02fb5dfc6d50afe2635382f04c864bd7
|
7
|
+
data.tar.gz: ec4ef2be9c05a4e16ad5f9efb143ba7b42c4582e1b6b3456187abdf4b664f6d46326ae5991d5c4c3ddf6ce9c5b9d2415fa573fe46d411c4670934cdf55805406
|
data/lib/gameon/base.rb
CHANGED
@@ -1,27 +1,28 @@
|
|
1
1
|
module GameOn
|
2
2
|
def GameOn.env id
|
3
|
-
#require 'redis'
|
4
|
-
#@@redis = Redis.new
|
5
|
-
#Marshal.load @@redis.get id
|
6
3
|
GameOn::Persistence::DS.load id
|
7
4
|
end
|
8
5
|
|
9
6
|
class Env < Mushin::Env
|
10
7
|
end
|
11
8
|
|
9
|
+
|
12
10
|
module Gamebook
|
13
11
|
extend Mushin::DSL::Notebook
|
14
12
|
Mushin::DSL::Notebook.build 'game', 'rule', 'activate'
|
13
|
+
#TODO As a Framework developer you get to add alias_methods
|
14
|
+
# Example alias_method :ninja, :rule
|
15
15
|
end
|
16
16
|
|
17
|
-
class Activities < Mushin::DSL::Activities
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
end
|
24
|
-
|
17
|
+
#class Activities < Mushin::DSL::Activities
|
18
|
+
#include Mushin::DSL::Activities
|
19
|
+
#extend Mushin::DSL::Activities
|
20
|
+
#TODO transfer construction to mushin
|
21
|
+
#def self.construction game, activity
|
22
|
+
# GameOn::Engine.run game, activity
|
23
|
+
#end
|
24
|
+
#end
|
25
|
+
=begin
|
25
26
|
module Engine
|
26
27
|
def Engine.run game, activity
|
27
28
|
#[Mushin::Presistence::DS, Mushin::blahblah]
|
@@ -34,4 +35,5 @@ module GameOn
|
|
34
35
|
Mushin::Engine.run game, activity
|
35
36
|
end
|
36
37
|
end
|
38
|
+
=end
|
37
39
|
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.pre12
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mushin
|