geokit 1.8.4 → 1.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.travis.yml +4 -6
  2. data/CHANGELOG.md +9 -0
  3. data/README.markdown +27 -3
  4. data/fixtures/vcr_cassettes/bing_au.yml +86 -0
  5. data/fixtures/vcr_cassettes/bing_full.yml +61 -68
  6. data/fixtures/vcr_cassettes/bing_full_au.yml +43 -39
  7. data/fixtures/vcr_cassettes/bing_full_de.yml +43 -39
  8. data/fixtures/vcr_cassettes/fcc_reverse_geocode.yml +9 -7
  9. data/fixtures/vcr_cassettes/geocodio_geocode.yml +43 -0
  10. data/fixtures/vcr_cassettes/google_city.yml +8 -6
  11. data/fixtures/vcr_cassettes/google_country_code_biased_result.yml +27 -25
  12. data/fixtures/vcr_cassettes/google_full.yml +13 -16
  13. data/fixtures/vcr_cassettes/google_full_short.yml +8 -6
  14. data/fixtures/vcr_cassettes/google_language_response_fr.yml +23 -21
  15. data/fixtures/vcr_cassettes/google_multi.yml +7 -5
  16. data/fixtures/vcr_cassettes/google_reverse_madrid.yml +281 -278
  17. data/fixtures/vcr_cassettes/google_reverse_madrid_es.yml +26 -32
  18. data/fixtures/vcr_cassettes/map_quest_full.yml +53 -0
  19. data/fixtures/vcr_cassettes/map_quest_reverse_madrid.yml +52 -0
  20. data/fixtures/vcr_cassettes/ripe_geocode_45.yml +45 -0
  21. data/fixtures/vcr_cassettes/yahoo_city.yml +1 -1
  22. data/fixtures/vcr_cassettes/yahoo_full.yml +1 -1
  23. data/fixtures/vcr_cassettes/yahoo_no_results.yml +1 -1
  24. data/lib/geokit/geocoders.rb +16 -1
  25. data/lib/geokit/geocoders/bing.rb +22 -18
  26. data/lib/geokit/geocoders/fcc.rb +2 -1
  27. data/lib/geokit/geocoders/geocodio.rb +59 -0
  28. data/lib/geokit/geocoders/google.rb +7 -3
  29. data/lib/geokit/geocoders/mapquest.rb +3 -2
  30. data/lib/geokit/geocoders/ripe.rb +8 -5
  31. data/lib/geokit/geocoders/yahoo.rb +2 -1
  32. data/lib/geokit/lat_lng.rb +13 -3
  33. data/lib/geokit/mappable.rb +13 -0
  34. data/lib/geokit/multi_geocoder.rb +13 -2
  35. data/lib/geokit/net_adapter/net_http.rb +6 -1
  36. data/lib/geokit/version.rb +1 -1
  37. data/test/helper.rb +2 -1
  38. data/test/test_bing_geocoder.rb +23 -3
  39. data/test/test_fcc_geocoder.rb +1 -1
  40. data/test/test_geocodio_geocoder.rb +33 -0
  41. data/test/test_google_geocoder.rb +31 -17
  42. data/test/test_latlng.rb +18 -0
  43. data/test/test_map_quest.rb +56 -0
  44. data/test/test_multi_geocoder.rb +7 -0
  45. data/test/test_ripe_geocoder.rb +19 -12
  46. data/test/test_yahoo_geocoder.rb +7 -7
  47. metadata +12 -8
@@ -1,11 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - ree
4
- - 1.8.7
5
- - 1.9.2
6
- - 1.9.3
7
- - 2.0.0
8
- - 2.1.0
3
+ - 1.8
4
+ - 1.9
5
+ - 2.0
6
+ - 2.1
9
7
  script: "bundle exec rake coverage"
10
8
  before_install:
11
9
  - gem install bundler
@@ -1,3 +1,12 @@
1
+ ## 1.8.5
2
+
3
+ * HTTPS on Google, Bing, Yahoo and MapQuest
4
+ * Added Geocod.io Geocoder
5
+ * Can use Google Key on free geocoder
6
+ * Fix bug in RIPE geocoder where no locations returned
7
+ * provider_order option for MultiGeocoder
8
+ * dms return methods (degree, minute, second)
9
+
1
10
  ## 1.8.4
2
11
 
3
12
  * Fix math error in ruby 1.8
@@ -44,9 +44,10 @@ Combine this gem with the [geokit-rails](http://github.com/geokit/geokit-rails)
44
44
  * Bing
45
45
  * Yandex
46
46
  * MapQuest
47
+ * Geocod.io
47
48
 
48
49
  ### address geocoders that also provide reverse geocoding
49
- * Google - requires an API key. Also supports multiple results and bounding box/country code biasing.
50
+ * Google - Supports multiple results and bounding box/country code biasing. Also supports Maps API for Business keys; see the configuration section below.
50
51
  * FCC
51
52
  * Open Street Map
52
53
 
@@ -57,6 +58,15 @@ Combine this gem with the [geokit-rails](http://github.com/geokit/geokit-rails)
57
58
  * MaxMind
58
59
  * freegeoip.net
59
60
 
61
+ ### HTTPS-supporting geocoders
62
+ * Google
63
+ * Yahoo
64
+ * Bing
65
+ * FCC
66
+ * MapQuest
67
+
68
+ Options to control the use of HTTPS are described below in the Configuration section.
69
+
60
70
  ## QUICK START
61
71
 
62
72
  ```ruby
@@ -117,6 +127,10 @@ If you're using this gem by itself, here are the configuration options:
117
127
  Geokit::Geocoders::GoogleGeocoder.cryptographic_key = ''
118
128
  Geokit::Geocoders::GoogleGeocoder.channel = ''
119
129
 
130
+ # You can also use the free API key instead of signed requests
131
+ # See https://developers.google.com/maps/documentation/geocoding/#api_key
132
+ Geokit::Geocoders::GoogleGeocoder.api_key = ''
133
+
120
134
  # You can also set multiple API KEYS for different domains that may be directed to this same application.
121
135
  # The domain from which the current user is being directed will automatically be updated for Geokit via
122
136
  # the GeocoderControl class, which gets it's begin filter mixed into the ActionController.
@@ -159,6 +173,16 @@ If you're using this gem by itself, here are the configuration options:
159
173
  # The IP provider order. Valid symbols are :ip,:geo_plugin.
160
174
  # As before, make sure you read up on relevant Terms of Use for each.
161
175
  # Geokit::Geocoders::ip_provider_order = [:external,:geo_plugin,:ip]
176
+
177
+ # Disable HTTPS globally. This option can also be set on individual
178
+ # geocoder classes.
179
+ Geokit::Geocoders::secure = false
180
+
181
+ # Control verification of the server certificate for geocoders using HTTPS
182
+ Geokit::Geocoders::ssl_verify_mode = OpenSSL::SSL::VERIFY_(PEER/NONE)
183
+ # Setting this to VERIFY_NONE may be needed on systems that don't have
184
+ # a complete or up to date root certificate store. Only applies to
185
+ # the Net::HTTP adapter.
162
186
  ```
163
187
 
164
188
  ### Google Geocoder Tricks
@@ -187,7 +211,7 @@ Not exactly what we were looking for. We know that Syracuse is in Italy, so we c
187
211
  => "Syracuse, Italy"
188
212
  ```
189
213
 
190
- Alternatively, we can speficy the geocoding bias as a bounding box object. Say we wanted to geocode the Winnetka district in Los Angeles.
214
+ Alternatively, we can specify the geocoding bias as a bounding box object. Say we wanted to geocode the Winnetka district in Los Angeles.
191
215
 
192
216
  ```ruby
193
217
  irb> res = Geokit::Geocoders::GoogleGeocoder.geocode('Winnetka')
@@ -258,7 +282,7 @@ do_geocode.
258
282
  ## WRITING YOUR OWN GEOCODERS
259
283
 
260
284
  If you would like to write your own geocoders, you can do so by requiring 'geokit' or 'geokit/geocoders.rb' in a new file and subclassing the base class (which is class "Geocoder").
261
- You must then also require such extenal file back in your main geokit configuration.
285
+ You must then also require such external file back in your main geokit configuration.
262
286
 
263
287
  ```ruby
264
288
  require "geokit"
@@ -0,0 +1,86 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://dev.virtualearth.net/REST/v1/Locations/Australia?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Cache-Control:
22
+ - no-cache
23
+ Transfer-Encoding:
24
+ - chunked
25
+ Content-Type:
26
+ - application/xml; charset=utf-8
27
+ Vary:
28
+ - Accept-Encoding
29
+ Server:
30
+ - Microsoft-IIS/8.0
31
+ X-Bm-Traceid:
32
+ - c94bd5877eb348d28caf0cab56de8c48
33
+ X-Bm-Srv:
34
+ - BN20121762, BN2SCH020131230
35
+ X-Ms-Bm-Ws-Info:
36
+ - '0'
37
+ X-Aspnet-Version:
38
+ - 4.0.30319
39
+ X-Powered-By:
40
+ - ASP.NET
41
+ Date:
42
+ - Thu, 29 May 2014 13:58:44 GMT
43
+ body:
44
+ encoding: ASCII-8BIT
45
+ string: !binary |-
46
+ 77u/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xMzE3NzQ5MDIzPC9MYXRpdHVkZT48TG9uZ2l0dWRl
79
+ PjEzNC41MDQxMTk4NzMwNDY4ODwvTG9uZ2l0dWRlPjxDYWxjdWxhdGlvbk1l
80
+ dGhvZD5Sb29mdG9wPC9DYWxjdWxhdGlvbk1ldGhvZD48VXNhZ2VUeXBlPkRp
81
+ c3BsYXk8L1VzYWdlVHlwZT48L0dlb2NvZGVQb2ludD48L0xvY2F0aW9uPjwv
82
+ UmVzb3VyY2VzPjwvUmVzb3VyY2VTZXQ+PC9SZXNvdXJjZVNldHM+PC9SZXNw
83
+ b25zZT4=
84
+ http_version:
85
+ recorded_at: Thu, 29 May 2014 13:58:44 GMT
86
+ recorded_with: VCR 2.8.0
@@ -2,51 +2,44 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://dev.virtualearth.net/REST/v1/Locations/100%20Spear%20St,%20San%20Francisco,%20CA,%2094105-1522,%20US?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
5
+ uri: https://dev.virtualearth.net/REST/v1/Locations/100%20Spear%20St,%20San%20Francisco,%20CA,%2094105-1522,%20US?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
10
12
  Accept:
11
- - ! '*/*'
13
+ - '*/*'
12
14
  User-Agent:
13
15
  - Ruby
14
16
  response:
15
17
  status:
16
18
  code: 200
17
- message: !binary |-
18
- T0s=
19
+ message: OK
19
20
  headers:
20
- !binary "Q2FjaGUtQ29udHJvbA==":
21
- - !binary |-
22
- bm8tY2FjaGU=
23
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
24
- - !binary |-
25
- Y2h1bmtlZA==
26
- !binary "Q29udGVudC1UeXBl":
27
- - !binary |-
28
- YXBwbGljYXRpb24veG1sOyBjaGFyc2V0PXV0Zi04
29
- !binary "U2VydmVy":
30
- - !binary |-
31
- TWljcm9zb2Z0LUlJUy84LjA=
32
- !binary "WC1CbS1UcmFjZWlk":
33
- - !binary |-
34
- NTU5ZWI3NGYxMWY4NDQyZjllN2VhNzJjMmI2OWU1YTM=
35
- !binary "WC1CbS1TcnY=":
36
- - !binary |-
37
- U0lOTTAwMDAwOSwgU0lOTVNOVk0wMDAxNDUsIFNJTklQRVZNMDAwMDEw
38
- !binary "WC1Ncy1CbS1Xcy1JbmZv":
39
- - !binary |-
40
- MA==
41
- !binary "WC1Bc3BuZXQtVmVyc2lvbg==":
42
- - !binary |-
43
- NC4wLjMwMzE5
44
- !binary "WC1Qb3dlcmVkLUJ5":
45
- - !binary |-
46
- QVNQLk5FVA==
47
- !binary "RGF0ZQ==":
48
- - !binary |-
49
- U2F0LCAxNCBEZWMgMjAxMyAwNTo0MDo1MyBHTVQ=
21
+ Cache-Control:
22
+ - no-cache
23
+ Transfer-Encoding:
24
+ - chunked
25
+ Content-Type:
26
+ - application/xml; charset=utf-8
27
+ Vary:
28
+ - Accept-Encoding
29
+ Server:
30
+ - Microsoft-IIS/8.0
31
+ X-Bm-Traceid:
32
+ - 9ab7e47e5657431aa8344781ca6a66bb
33
+ X-Bm-Srv:
34
+ - CO30276338, CO3SCH010265307, CO3SCH010265205
35
+ X-Ms-Bm-Ws-Info:
36
+ - '0'
37
+ X-Aspnet-Version:
38
+ - 4.0.30319
39
+ X-Powered-By:
40
+ - ASP.NET
41
+ Date:
42
+ - Sun, 26 Jan 2014 05:51:02 GMT
50
43
  body:
51
44
  encoding: ASCII-8BIT
52
45
  string: !binary |-
@@ -55,7 +48,7 @@ http_interactions:
55
48
  aGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8y
56
49
  MDAxL1hNTFNjaGVtYSIgeG1sbnM9Imh0d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TUyNDA0
84
+ Nzg1MjwvTGF0aXR1ZGU+PExvbmdpdHVkZT4tMTIyLjM5Mzk5NzE5MjM4Mzwv
85
+ TG9uZ2l0dWRlPjxDYWxjdWxhdGlvbk1ldGhvZD5QYXJjZWw8L0NhbGN1bGF0
86
+ aW9uTWV0aG9kPjxVc2FnZVR5cGU+RGlzcGxheTwvVXNhZ2VUeXBlPjwvR2Vv
87
+ Y29kZVBvaW50PjxHZW9jb2RlUG9pbnQ+PExhdGl0dWRlPjM3Ljc5MjM2MjIx
88
+ MzEzNDg8L0xhdGl0dWRlPjxMb25naXR1ZGU+LTEyMi4zOTM4MjkzNDU3MDM8
89
+ L0xvbmdpdHVkZT48Q2FsY3VsYXRpb25NZXRob2Q+SW50ZXJwb2xhdGlvbjwv
90
+ Q2FsY3VsYXRpb25NZXRob2Q+PFVzYWdlVHlwZT5Sb3V0ZTwvVXNhZ2VUeXBl
91
+ PjwvR2VvY29kZVBvaW50PjwvTG9jYXRpb24+PC9SZXNvdXJjZXM+PC9SZXNv
92
+ dXJjZVNldD48L1Jlc291cmNlU2V0cz48L1Jlc3BvbnNlPg==
100
93
  http_version:
101
- recorded_at: Sat, 14 Dec 2013 05:40:44 GMT
94
+ recorded_at: Sun, 26 Jan 2014 05:51:03 GMT
102
95
  recorded_with: VCR 2.8.0
@@ -2,13 +2,15 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://dev.virtualearth.net/REST/v1/Locations/440%20King%20William%20Street,%20Adelaide,%20Australia?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
5
+ uri: https://dev.virtualearth.net/REST/v1/Locations/440%20King%20William%20Street,%20Adelaide,%20Australia?key=AuWcmtBIoPeOubm9BtcN44hTmWw_wNoJ5NEO2L0RaKrGAUE_nlwciKAqwapdq7k7&o=xml
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
10
12
  Accept:
11
- - ! '*/*'
13
+ - '*/*'
12
14
  User-Agent:
13
15
  - Ruby
14
16
  response:
@@ -22,12 +24,14 @@ http_interactions:
22
24
  - chunked
23
25
  Content-Type:
24
26
  - application/xml; charset=utf-8
27
+ Vary:
28
+ - Accept-Encoding
25
29
  Server:
26
30
  - Microsoft-IIS/8.0
27
31
  X-Bm-Traceid:
28
- - 2f00297848b04bf78f73efdb6c7b8c2b
32
+ - f80025caa8d14f9299362cdf94736e5a
29
33
  X-Bm-Srv:
30
- - SINM001003, SINMSNVM000034, SINMSNVM000039
34
+ - CO30276241, CO3SCH010265513, CO3SCH010265413
31
35
  X-Ms-Bm-Ws-Info:
32
36
  - '0'
33
37
  X-Aspnet-Version:
@@ -35,7 +39,7 @@ http_interactions:
35
39
  X-Powered-By:
36
40
  - ASP.NET
37
41
  Date:
38
- - Thu, 26 Dec 2013 09:48:30 GMT
42
+ - Sun, 26 Jan 2014 05:51:03 GMT
39
43
  body:
40
44
  encoding: ASCII-8BIT
41
45
  string: !binary |-
@@ -44,7 +48,7 @@ http_interactions:
44
48
  aGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8y
45
49
  MDAxL1hNTFNjaGVtYSIgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29m
46
50
  dC5jb20vc2VhcmNoL2xvY2FsL3dzL3Jlc3QvdjEiPjxDb3B5cmlnaHQ+Q29w
47
- eXJpZ2h0IMKpIDIwMTMgTWljcm9zb2Z0IGFuZCBpdHMgc3VwcGxpZXJzLiBB
51
+ eXJpZ2h0IMKpIDIwMTQgTWljcm9zb2Z0IGFuZCBpdHMgc3VwcGxpZXJzLiBB
48
52
  bGwgcmlnaHRzIHJlc2VydmVkLiBUaGlzIEFQSSBjYW5ub3QgYmUgYWNjZXNz
49
53
  ZWQgYW5kIHRoZSBjb250ZW50IGFu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