wherever-positions 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/wherever/db_store/dataset.rb +1 -1
- data/lib/wherever/db_store/identifier.rb +1 -1
- data/lib/wherever/db_store/store.rb +1 -1
- data/wherever-positions.gemspec +100 -0
- metadata +4 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -2,7 +2,7 @@ module DbStore
|
|
2
2
|
class Dataset
|
3
3
|
include Mongoid::Document
|
4
4
|
include DbStore::RecordMatcher
|
5
|
-
embedded_in :store, :class_name => 'DbStore::Store'
|
5
|
+
embedded_in :store, :inverse_of => :datasets, :class_name => 'DbStore::Store'
|
6
6
|
field :values, :type => Hash, :default => Hash.new(0)
|
7
7
|
|
8
8
|
def price
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module DbStore
|
2
2
|
class Store
|
3
3
|
include Mongoid::Document
|
4
|
-
embedded_in :marker, :class_name => 'DbStore::Marker'
|
4
|
+
embedded_in :marker, :inverse_of => :stores, :class_name => 'DbStore::Marker'
|
5
5
|
embeds_many :datasets, :class_name => 'DbStore::Dataset'
|
6
6
|
embeds_many :identifiers, :class_name => 'DbStore::Identifier'
|
7
7
|
field :key, :type => Array
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{wherever-positions}
|
8
|
+
s.version = "0.1.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["David Henry"]
|
12
|
+
s.date = %q{2011-10-30}
|
13
|
+
s.description = %q{Allow Store of positions by multiple keys with teh option to mark specific points in time for use later}
|
14
|
+
s.email = %q{dw_henry@yahoo.com.au}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".rspec",
|
22
|
+
".rvmrc",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"features/step_definitions/wherever_steps.rb",
|
30
|
+
"features/support/env.rb",
|
31
|
+
"features/wherever.feature",
|
32
|
+
"lib/wherever.rb",
|
33
|
+
"lib/wherever/configure.rb",
|
34
|
+
"lib/wherever/db_store.rb",
|
35
|
+
"lib/wherever/db_store/dataset.rb",
|
36
|
+
"lib/wherever/db_store/identifier.rb",
|
37
|
+
"lib/wherever/db_store/lookup.rb",
|
38
|
+
"lib/wherever/db_store/marker.rb",
|
39
|
+
"lib/wherever/db_store/record_matcher.rb",
|
40
|
+
"lib/wherever/db_store/store.rb",
|
41
|
+
"lib/wherever/wherever.rb",
|
42
|
+
"lib/wherever/wherever/accessors.rb",
|
43
|
+
"lib/wherever/wherever/adder.rb",
|
44
|
+
"lib/wherever/wherever/getter.rb",
|
45
|
+
"lib/wherever/wherever/lookup.rb",
|
46
|
+
"lib/wherever/wherever/mark.rb",
|
47
|
+
"spec/spec_helper.rb",
|
48
|
+
"spec/wherever/adder_spec.rb",
|
49
|
+
"spec/wherever/custom_grouping_spec.rb",
|
50
|
+
"spec/wherever/getter_spec.rb",
|
51
|
+
"spec/wherever/key_store_spec.rb",
|
52
|
+
"spec/wherever/mark_spec.rb",
|
53
|
+
"spec/wherever/setter_spec.rb",
|
54
|
+
"spec/wherever/using_lookup_in_grouping_spec.rb",
|
55
|
+
"wherever-positions.gemspec",
|
56
|
+
"wherever.gemspec"
|
57
|
+
]
|
58
|
+
s.homepage = %q{http://github.com/dw_henry/wherever}
|
59
|
+
s.licenses = ["MIT"]
|
60
|
+
s.require_paths = ["lib"]
|
61
|
+
s.rubygems_version = %q{1.6.2}
|
62
|
+
s.summary = %q{Store and Retrieve positions by location}
|
63
|
+
|
64
|
+
if s.respond_to? :specification_version then
|
65
|
+
s.specification_version = 3
|
66
|
+
|
67
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
68
|
+
s.add_runtime_dependency(%q<bson_ext>, [">= 0"])
|
69
|
+
s.add_runtime_dependency(%q<mongoid>, [">= 0"])
|
70
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
71
|
+
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
72
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
73
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
74
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
75
|
+
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
76
|
+
s.add_development_dependency(%q<database_cleaner>, [">= 0"])
|
77
|
+
else
|
78
|
+
s.add_dependency(%q<bson_ext>, [">= 0"])
|
79
|
+
s.add_dependency(%q<mongoid>, [">= 0"])
|
80
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
81
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
82
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
83
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
84
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
85
|
+
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
86
|
+
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
87
|
+
end
|
88
|
+
else
|
89
|
+
s.add_dependency(%q<bson_ext>, [">= 0"])
|
90
|
+
s.add_dependency(%q<mongoid>, [">= 0"])
|
91
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
92
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
93
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
94
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
95
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
96
|
+
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
97
|
+
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Henry
|
@@ -195,6 +195,7 @@ files:
|
|
195
195
|
- spec/wherever/mark_spec.rb
|
196
196
|
- spec/wherever/setter_spec.rb
|
197
197
|
- spec/wherever/using_lookup_in_grouping_spec.rb
|
198
|
+
- wherever-positions.gemspec
|
198
199
|
- wherever.gemspec
|
199
200
|
has_rdoc: true
|
200
201
|
homepage: http://github.com/dw_henry/wherever
|