geo_magic 0.2.2 → 0.2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/geo_magic.gemspec +1 -1
- data/lib/geo_magic/geocode/geocoder.rb +2 -2
- data/lib/geo_magic/util.rb +0 -14
- metadata +3 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.2
|
1
|
+
0.2.2.1
|
data/geo_magic.gemspec
CHANGED
data/lib/geo_magic/util.rb
CHANGED
@@ -60,21 +60,7 @@ module GeoMagic
|
|
60
60
|
|
61
61
|
def within_rectangle rectangle
|
62
62
|
self.select do |point|
|
63
|
-
puts "point: #{point.inspect}"
|
64
|
-
|
65
|
-
if point.respond_to? :person
|
66
|
-
puts "indiv adr: #{point.person.address}"
|
67
|
-
puts "adr loc: #{point.person.address.location}"
|
68
|
-
puts "loc: #{point.location}"
|
69
|
-
end
|
70
|
-
if point.respond_to? :company
|
71
|
-
puts "company adr: #{point.company.address}"
|
72
|
-
puts "adr loc: #{point.company.address.location}"
|
73
|
-
puts "loc: #{point.location}"
|
74
|
-
end
|
75
|
-
|
76
63
|
obj = get_dist_obj(point)
|
77
|
-
puts "dist obj: #{obj.inspect}"
|
78
64
|
rectangle.overlaps? obj
|
79
65
|
end
|
80
66
|
end
|
metadata
CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 2
|
8
8
|
- 2
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.2.2.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Kristian Mandrup
|
@@ -192,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
193
|
requirements:
|
193
194
|
- - ">="
|
194
195
|
- !ruby/object:Gem::Version
|
195
|
-
hash: -
|
196
|
+
hash: -191356599515187652
|
196
197
|
segments:
|
197
198
|
- 0
|
198
199
|
version: "0"
|