geocoder-neo4j_spatial 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1414165c59044babc2c24f02a1b2d9539e4f66f1
4
- data.tar.gz: 74bfbb8d7fe2d1fe81c063ccc402156382049747
3
+ metadata.gz: e85a9392caaa8f7128e45976c0f778b13f8df493
4
+ data.tar.gz: f0c0c4be07ecaf52dabd44e8370968317e2f1d64
5
5
  SHA512:
6
- metadata.gz: 40c8aa7f3cf0749529d195663f808fee68b9367117c0fb6eb030d77dbb67bf5d4cdd6ed3e31ecc9f89704cf157a113552fc9d094a0f0d818d5a9cc98d86d3239
7
- data.tar.gz: bf0536a402d7ef01a05e09c8ddec48a0a8ab8dc77787f42bf90c40adb48f699e6b5a59b7beba12f1f7f98afacac198700006a22e407cc77b1243b9e27cbe4c2e
6
+ metadata.gz: 7ee9ea2139e7bea4a326744727978df4c00ce7679dda4b4714efccda1efe072faafbb6eaec61cd449dad858b35834cde96a1b0c38978bd53c9dce96136bc7512
7
+ data.tar.gz: 5d3ee26588477b71233e86bbe97855ec7aa5ac4dc57c3ae59805c31426bd06898a7e388b5cccff17a9f9d58f86f6a069f1e57951b83d42f8a54a5a8bd9dcdf18
@@ -1,5 +1,5 @@
1
1
  module Geocoder
2
2
  module Neo4jSpatial
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ module Geocoder::Store
18
18
  if location.is_a?(Array)
19
19
  coordinates = location << radius.to_f
20
20
 
21
- within(coordinates)
21
+ base.within(coordinates)
22
22
  else
23
23
  coordinates = Geocoder::Calculations.extract_coordinates(location)
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geocoder-neo4j_spatial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kajisha