sixarm_ruby_google_maps_api 2.0.0 → 2.0.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/sixarm_ruby_google_maps_api/geocode.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78314a78a6f8036fcf8016db71d3474be6566c399a2c68b578273a2e1cc459cf
|
|
4
|
+
data.tar.gz: aaa8fda6793f87a0b924c9cb1d827164867156a2312325093235de463f48c7c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 464e3d0b671024c169a27bb0567a64701b787ed8d10f71e76fd9eccf18964e7d4ee1789f52fdb8fd45483acc7ad590a69c479d0736168455b40d634c5a1b7cb3
|
|
7
|
+
data.tar.gz: 2b97277f7fc30ae919d14b15463b042a434058f52b17a61db6d4ed98703e3667408152c880232aae324ecc188ec6ecbb57df46e4324e22c01826fc83112e5296
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
|
@@ -19,7 +19,7 @@ module Google; module Maps; module API; module Geocode
|
|
|
19
19
|
## Helpers
|
|
20
20
|
|
|
21
21
|
def self.address_to_uri(google_maps_api_key, address)
|
|
22
|
-
return URI.parse("https://maps.googleapis.com/maps/api/geocode/json?key=#{
|
|
22
|
+
return URI.parse("https://maps.googleapis.com/maps/api/geocode/json?key=#{CGI.escape(google_maps_api_key)}&address=#{CGI.escape(address)}")
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def self.result_to_lat_lng(result)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sixarm_ruby_google_maps_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SixArm
|
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
|
39
39
|
tzpk/VnZXj7Ek/earx+N/Z+Wtnl2xENm5IF8SFPeI1HFa9NH47pqtxF1YKpNIEVc
|
|
40
40
|
2xa2BNHSePe7tys/2hbmZuyMu8X5ERmovsabSXB3a+YwtJh5c2jhA21wF7986s0q
|
|
41
41
|
-----END CERTIFICATE-----
|
|
42
|
-
date: 2018-
|
|
42
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
|
43
43
|
dependencies:
|
|
44
44
|
- !ruby/object:Gem::Dependency
|
|
45
45
|
name: json
|
metadata.gz.sig
CHANGED
|
Binary file
|