git-ds 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/git-ds/model.rb +11 -2
  2. metadata +4 -4
data/lib/git-ds/model.rb CHANGED
@@ -26,9 +26,11 @@ require 'git-ds/model/root'
26
26
  module GitDS
27
27
 
28
28
  =begin rdoc
29
- A data model.
29
+ Instance methods used by a Model object.
30
+
31
+ Note: This is an instance-method module. It should be included, not extended.
30
32
  =end
31
- class Model
33
+ module ModelObject
32
34
 
33
35
  =begin rdoc
34
36
  The Root item for the Model.
@@ -133,4 +135,11 @@ See Database#branch_and_merge.
133
135
 
134
136
  end
135
137
 
138
+ =begin rdoc
139
+ A data model.
140
+ =end
141
+ class Model
142
+ include ModelObject
143
+ end
144
+
136
145
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-ds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-03-31 00:00:00.000000000 -04:00
12
+ date: 2011-04-03 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit
17
- requirement: &14839740 !ruby/object:Gem::Requirement
17
+ requirement: &9865140 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 2.2.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *14839740
25
+ version_requirements: *9865140
26
26
  description: A hierarchical datastore based on Git.
27
27
  email: community@thoughtgang.org
28
28
  executables: []