dynamodb_geo 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynamodb_geo/version.rb +1 -1
- data/lib/dynamodb_manager.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fa8f8e9732cb57f22454364dae1d01f8245eaa2006d2c5c27c3bfbcf9533c6a
|
4
|
+
data.tar.gz: da4ca3769f2ed2e7372693995ebe0061da6eb2eba6009a39631b5c3f89a95fe9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 467828ce5b76c90ad7c2bed7594994fadb5c76e4ee0bc63714ba5878eb4f1779631798cbb610e53fa9a7ba2acd882907559c1c13ed89c7e794d0d14c6aef93f3
|
7
|
+
data.tar.gz: d7c5231aefc7bee490e07b85ea97243dbb2fbeb6d60a451ba1f98062bb83708e99644309fc60437e4b00cd589f3f3334effbd0baa97458184d2059b946b31711
|
data/lib/dynamodb_geo/version.rb
CHANGED
data/lib/dynamodb_manager.rb
CHANGED
@@ -79,6 +79,7 @@ class DynamodbManager
|
|
79
79
|
phone = item[@geojson]['phone']
|
80
80
|
name = item[@geojson]['name']
|
81
81
|
geohash = item[@geohash_key]
|
82
|
+
uuid = item[@range_key]
|
82
83
|
all_stores << Store.new(
|
83
84
|
latitude: latitude,
|
84
85
|
longitude: longitude,
|
@@ -89,7 +90,8 @@ class DynamodbManager
|
|
89
90
|
area_code: area_code,
|
90
91
|
phone: phone,
|
91
92
|
name: name,
|
92
|
-
geohash: geohash
|
93
|
+
geohash: geohash,
|
94
|
+
uuid: uuid
|
93
95
|
)
|
94
96
|
end
|
95
97
|
break if all_stores.length >= max_item_return
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamodb_geo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ahn
|
@@ -127,7 +127,7 @@ requirements: []
|
|
127
127
|
rubygems_version: 3.1.2
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
|
-
summary: dynamodb_geo-0.2.
|
130
|
+
summary: dynamodb_geo-0.2.1
|
131
131
|
test_files:
|
132
132
|
- spec/dynamodb_geo_spec.rb
|
133
133
|
- spec/geohash_spec.rb
|