mongoid_geo 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,8 +15,8 @@ module Mongoid #:nodoc
15
15
  else
16
16
  !value.nil? ? value.extend(Mongoid::Geo::Point).to_point : value
17
17
  end
18
- end
19
- value = value[0..1] if !value.nil?
18
+ value = value[0..1] if !value.nil?
19
+ end
20
20
  write_attribute(name, value)
21
21
  end
22
22
  define_method("#{meth}?") do
data/lib/mongoid/geo.rb CHANGED
@@ -5,5 +5,4 @@ end
5
5
 
6
6
  require 'mongoid/geo/point'
7
7
  require 'mongoid/geo/criteria'
8
- require 'mongoid/geo/fields'
9
8
  require 'mongoid/geo/index'
metadata CHANGED
@@ -1,20 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_geo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease: !!null
4
+ version: 0.1.5
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kristian Mandrup
9
- autorequire: !!null
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-02-06 00:00:00.000000000 +01:00
13
- default_executable: !!null
12
+ date: 2011-02-18 00:00:00.000000000 +01:00
13
+ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &2156349680 !ruby/object:Gem::Requirement
17
+ requirement: &2153030660 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *2156349680
25
+ version_requirements: *2153030660
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: mongoid
28
- requirement: &2156349140 !ruby/object:Gem::Requirement
28
+ requirement: &2153030120 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.0.0.rc.6
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156349140
36
+ version_requirements: *2153030120
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bson_ext
39
- requirement: &2156348440 !ruby/object:Gem::Requirement
39
+ requirement: &2153029620 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 1.1.6
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2156348440
47
+ version_requirements: *2153029620
48
48
  description: Geo spatial extension on Mongoid 2, to add more geo-spatial capabilities
49
49
  email:
50
50
  - kmandrup@gmail.com
@@ -70,7 +70,7 @@ files:
70
70
  has_rdoc: true
71
71
  homepage: https://github.com/kristianmandrup/mongoid-geo
72
72
  licenses: []
73
- post_install_message: !!null
73
+ post_install_message:
74
74
  rdoc_options: []
75
75
  require_paths:
76
76
  - lib
@@ -87,9 +87,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: 1.3.6
89
89
  requirements: []
90
- rubyforge_project: !!null
91
- rubygems_version: 1.5.0
92
- signing_key: !!null
90
+ rubyforge_project:
91
+ rubygems_version: 1.5.2
92
+ signing_key:
93
93
  specification_version: 3
94
94
  summary: Adds extra convenience methods for geo-spatial operations etc.
95
95
  test_files: []