gameon 0.0.0.pre11 → 0.0.0.pre12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gameon/base.rb +13 -11
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2db0ac0a9d9ba722e5b7c0f63fd3e6ae7c94471
4
- data.tar.gz: 66e0d68fddc748184ec75515fa4577293ce2628c
3
+ metadata.gz: 1f5d5108d98d579f607fce53448d2c1decaffef3
4
+ data.tar.gz: d55bd5129399999032606ab1451f230204345de1
5
5
  SHA512:
6
- metadata.gz: 6b404bd6bd736c76c544df235d48d12fdceeac0a12cfcae839eafa428b1e0d6cde96e48d8335defb089c14a894b5f3a7b6ff79c8355e8b73c30e3d0dd92b7888
7
- data.tar.gz: 9ee195e0871b7a2036a804a1545c3fdd6a5636c7b388639f2800eee8212ba3659de167900ad21c7d4d57b5703c9de317613e944eeac3e72f29d29b6de16b00d8
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
- #include Mushin::DSL::Activities
19
- #extend Mushin::DSL::Activities
20
- def self.construction game, activity
21
- GameOn::Engine.run game, activity
22
- end
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.pre11
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-16 00:00:00.000000000 Z
11
+ date: 2014-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mushin