location-one 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/location-one/core.rb +2 -2
- data/lib/location-one/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/location-one/core.rb
CHANGED
@@ -64,8 +64,8 @@ module LocationOne
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def change_location_by_place(place,opt_data={})
|
67
|
-
best_result = location_by_place(place)
|
68
|
-
|
67
|
+
best_result = self.location_by_place(place)
|
68
|
+
change_location_by_coords(best_result.latitude, best_result.longitude,opt_data)
|
69
69
|
end
|
70
70
|
|
71
71
|
end
|
data/lib/location-one/version.rb
CHANGED