wherever-positions 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,4 +1,10 @@
1
1
  module DbStore
2
+ class Dataset
3
+ include Mongoid::Document
4
+ include DbStore::RecordMatcher
5
+ field :values, :type => Hash, :default => Hash.new(0)
6
+ end
7
+
2
8
  module DatasetConfig
3
9
  def self.included(base)
4
10
  base.send :include, Mongoid::Document
@@ -1,4 +1,11 @@
1
1
  module DbStore
2
+ class Identifier
3
+ include Mongoid::Document
4
+ include DbStore::RecordMatcher
5
+ field :_id, :type => Integer
6
+ field :version, :type => Integer
7
+ end
8
+
2
9
  module IdentifierConfig
3
10
  def self.included(base)
4
11
  base.send :include, Mongoid::Document
@@ -2,8 +2,6 @@ module DbStore
2
2
  end
3
3
 
4
4
  require 'wherever/db_store/record_matcher'
5
- require 'wherever/db_store/marker'
6
- require 'wherever/db_store/store'
7
5
  require 'wherever/db_store/dataset'
8
6
  require 'wherever/db_store/identifier'
9
7
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wherever-positions}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Henry"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wherever-positions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Henry