gameon 0.0.0.pre7 → 0.0.0.pre8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b18c861ec6f38fbcc4b27a5de61588158f4b44f
4
- data.tar.gz: 2aca662d807991aef506813efd2e7746e57f01a7
3
+ metadata.gz: 7788e1c3d63eb1aa2031e65158baa6906b1d7db0
4
+ data.tar.gz: d9d5b7349eae5149d566734c26e030a9c669687f
5
5
  SHA512:
6
- metadata.gz: 7e8d9e68d0567e9d22ad5320355c67fff6a32c7e7659bfadb34d253e2219b5ad63f6b6cac147122c900f24fda90fb3cdc29218bd90444454fc62a7f89bad2f7b
7
- data.tar.gz: 2f7e875c8713875814a8e03e539092b72aa1aa9d3c2eb9fc69433bbb70d5c21c89a54615a04c173d428c0761b674e8998c0cd5bb658b4a4626ccdd84907cb928
6
+ metadata.gz: 0afbecdae02c86b7dfad87feb9df781f0a3a01aa84917b57588ae92a64e822a860ea3410a42d1b1854dee89715aa58cf3dc87df97c27cadfa99b659d2abfa8b9
7
+ data.tar.gz: f7a3609348a639440008b2d526e8f1f9a6643d59208db5e1f073d0d866cdfbe95e722c68018d3ff7badb6cf919d119c787eb92c30432bcb25ca8fca625f30d2a
data/lib/gameon/base.rb CHANGED
@@ -13,7 +13,7 @@ module GameOn
13
13
  end
14
14
 
15
15
  module Gamebook
16
- extend Mushin::Notebook
16
+ extend Mushin::DSL::Notebook
17
17
  Mushin::Notebook.build 'game', 'rule', 'activate'
18
18
  end
19
19
 
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.pre7
4
+ version: 0.0.0.pre8
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy
@@ -33,9 +33,6 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - lib/gameon.rb
35
35
  - lib/gameon/base.rb
36
- - lib/gameon/gamebook/dynamic.rb
37
- - lib/gameon/gamebook/game.rb
38
- - lib/gameon/gamebook/rule.rb
39
36
  - lib/gameon/version.rb
40
37
  homepage: https://github.com/gameon-rb/gameon
41
38
  licenses:
@@ -1,13 +0,0 @@
1
- module GameOn
2
- module Gamebook
3
- class Dynamic
4
- attr_accessor :name, :opts, :params
5
- def initialize name, opts={}, params={}
6
- @name = name
7
- @opts = opts
8
- @params = params
9
- end
10
-
11
- end
12
- end
13
- end
@@ -1,18 +0,0 @@
1
- module GameOn
2
- module Gamebook
3
- class Game
4
- attr_accessor :title, :rules
5
- def initialize title
6
- @title = title
7
- @rules = []
8
- end
9
- def add_rule rule
10
- @rules += [rule]
11
- end
12
-
13
- def rules
14
- @rules
15
- end
16
- end
17
- end
18
- end
@@ -1,20 +0,0 @@
1
- module GameOn
2
- module Gamebook
3
- class Rule
4
- attr_accessor :title, :dynamix
5
- def initialize title
6
- @title = title
7
- @dynamix = []
8
- end
9
-
10
- def add_dynamic dynamic
11
- @dynamix += [dynamic]
12
- end
13
-
14
- def all_dynamix
15
- @dynamix
16
- end
17
-
18
- end
19
- end
20
- end