mongoid_geospatial 1.0.0rc0 → 1.0.0rc1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in mongoid_spacial.gemspec
3
+ # Specify gem's dependencies in mongoid_geospatial.gemspec
4
4
  gemspec
5
5
 
6
6
  gem 'rgeo'
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Mongoid Geospatial
2
2
  ==================
3
3
 
4
- A Mongoid Extention that simplifies and adds support for MongoDB and
4
+ A Mongoid Extension that simplifies and adds support for MongoDB and
5
5
  RGeo Spatial Calculations.
6
6
 
7
7
  Quick Start
@@ -84,7 +84,7 @@ hudson.mouth #=> [-74.026667, 40.703056] # notice how this returned as a lng,la
84
84
  hudson.distance_from(:source, [-74,40], {:unit=>:mi})
85
85
 
86
86
  ```
87
- Mongoid Geo has extended all built in spatial symbol extentions
87
+ Mongoid Geo has extended all built in spatial symbol extensions
88
88
 
89
89
  * near
90
90
  * River.where(:source.near => [-73.98, 40.77])
@@ -299,6 +299,9 @@ to
299
299
  field :source, type: Point, spatial: true
300
300
 
301
301
 
302
+ Beware the 't' and 'c' issue. It's spaTial.
303
+
304
+
302
305
 
303
306
  Troubleshooting
304
307
  ---------------
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Geospatial
3
- VERSION = "1.0.0rc0"
3
+ VERSION = "1.0.0rc1"
4
4
  end
5
5
  end
@@ -4,8 +4,8 @@ require File.expand_path('../lib/mongoid_geospatial/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Ryan Ong", "Marcos Piccinini"]
6
6
  gem.email = ["use@git.hub.com"]
7
- gem.description = %q{mongoid_geospatial simplifies spatial calculations. Adds integration into mongoid so pagination and other function continue to work. It adds symbol extentions to simplify query creation.}
8
- gem.summary = %q{A Mongoid Extention that simplifies and adds support for MongoDB Geo Spatial Calculations.}
7
+ gem.description = %q{mongoid_geospatial simplifies spatial calculations. Adds integration into mongoid so pagination and other function continue to work. It adds symbol extensions to simplify query creation.}
8
+ gem.summary = %q{A Mongoid Extension that simplifies and adds support for MongoDB Geo Spatial Calculations.}
9
9
  gem.homepage = "https://github.com/nofxx/mongoid_geospatial"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_geospatial
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0rc0
4
+ version: 1.0.0rc1
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-03-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rgeo
17
- requirement: &23676440 !ruby/object:Gem::Requirement
17
+ requirement: &17414120 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.3.5
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *23676440
25
+ version_requirements: *17414120
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: mongoid
28
- requirement: &23675340 !ruby/object:Gem::Requirement
28
+ requirement: &17412660 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *23675340
36
+ version_requirements: *17412660
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: activesupport
39
- requirement: &23673720 !ruby/object:Gem::Requirement
39
+ requirement: &20713780 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '3.0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *23673720
47
+ version_requirements: *20713780
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: yard
50
- requirement: &26973620 !ruby/object:Gem::Requirement
50
+ requirement: &20713300 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 0.6.0
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *26973620
58
+ version_requirements: *20713300
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rspec
61
- requirement: &26973140 !ruby/object:Gem::Requirement
61
+ requirement: &20712820 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '2.3'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *26973140
69
+ version_requirements: *20712820
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rcov
72
- requirement: &26972660 !ruby/object:Gem::Requirement
72
+ requirement: &20712340 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *26972660
80
+ version_requirements: *20712340
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: mocha
83
- requirement: &26972180 !ruby/object:Gem::Requirement
83
+ requirement: &20711860 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *26972180
91
+ version_requirements: *20711860
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: will_paginate
94
- requirement: &26971700 !ruby/object:Gem::Requirement
94
+ requirement: &20711380 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: '0'
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *26971700
102
+ version_requirements: *20711380
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: kaminari
105
- requirement: &26971220 !ruby/object:Gem::Requirement
105
+ requirement: &20710900 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ! '>='
@@ -110,9 +110,9 @@ dependencies:
110
110
  version: '0'
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *26971220
113
+ version_requirements: *20710900
114
114
  description: mongoid_geospatial simplifies spatial calculations. Adds integration
115
- into mongoid so pagination and other function continue to work. It adds symbol extentions
115
+ into mongoid so pagination and other function continue to work. It adds symbol extensions
116
116
  to simplify query creation.
117
117
  email:
118
118
  - use@git.hub.com
@@ -251,7 +251,7 @@ rubyforge_project:
251
251
  rubygems_version: 1.8.11
252
252
  signing_key:
253
253
  specification_version: 3
254
- summary: A Mongoid Extention that simplifies and adds support for MongoDB Geo Spatial
254
+ summary: A Mongoid Extension that simplifies and adds support for MongoDB Geo Spatial
255
255
  Calculations.
256
256
  test_files:
257
257
  - spec/config/mongod.conf