geocoder 1.2.10 → 1.2.11
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of geocoder might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -2
- data/lib/geocoder/exceptions.rb +2 -0
- data/lib/geocoder/request.rb +1 -1
- data/lib/geocoder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5648fa768c84d9f5af64d9c377423d8c03567692
|
4
|
+
data.tar.gz: 670746d024b95d37411459e09bdffe69a8e50f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 214ae40b18a556baca80fc3531cadd8250f87c22bd1c4f3e5d2227f3297754a13b799b40bb7833e02a9663162e85e427b48800f418211ad71243a1f6f204acfa
|
7
|
+
data.tar.gz: a1a399fbb540520d9e6ae4ffb4d4fa72318388f07746203340b972b5670753129ae52160f8673298a9a2732b31224761d88c00156ef954043c3332fdbc2634cf
|
data/CHANGELOG.md
CHANGED
@@ -3,11 +3,16 @@ Changelog
|
|
3
3
|
|
4
4
|
Major changes to Geocoder for each release. Please see the Git log for complete list of changes.
|
5
5
|
|
6
|
-
1.2.
|
7
|
-
|
6
|
+
1.2.11 (2015 Sep 10)
|
7
|
+
--------------------
|
8
|
+
* Fix load issue on Ruby 1.9.3.
|
9
|
+
|
10
|
+
1.2.10 (2015 Sep 7)
|
11
|
+
-------------------
|
8
12
|
* Force Yandex to use HTTPS (thanks github.com/donbobka).
|
9
13
|
* Force :google to use HTTPS if API key set.
|
10
14
|
* Fix out-of-the-box verbosity issues (GH #881).
|
15
|
+
* Improve timeout mechanism and add exception Geocoder::LookupTimeout (thanks github.com/ankane).
|
11
16
|
* Deprecate .near and #nearbys for MongoDB-backed models.
|
12
17
|
|
13
18
|
1.2.9 (2015 Jun 12)
|
data/lib/geocoder/exceptions.rb
CHANGED
data/lib/geocoder/request.rb
CHANGED
@@ -17,7 +17,7 @@ module Geocoder
|
|
17
17
|
# corresponding to the original client IP for any request sent
|
18
18
|
# through a non-whitelisted proxy.
|
19
19
|
def safe_location
|
20
|
-
@
|
20
|
+
@safe_location ||= Geocoder.search(ip, ip_address: true).first
|
21
21
|
end
|
22
22
|
|
23
23
|
# There's a whole zoo of nonstandard headers added by various
|
data/lib/geocoder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geocoder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Reisner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides object geocoding (by street or IP address), reverse geocoding
|
14
14
|
(coordinates to street address), distance queries for ActiveRecord and Mongoid,
|