geocodio 2.0.1 → 2.0.2

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: 6e41eb68631540823c0d3087613a9f93449bfd6c
4
- data.tar.gz: 8fac1f8f09a1079ae0708fc5b73eed400968f85b
3
+ metadata.gz: 2d1f89d4c1ab8ee23caad6c1685584da9e8d2a75
4
+ data.tar.gz: 9c386a5f48939073696b3da37f0894cdd4095dbf
5
5
  SHA512:
6
- metadata.gz: 3ab47ef498df83514389dd82e9bf4dcfa6d01c0b85520e82dfd680b78e06dc9031b4bcd2cdedb2383dfc6f8e7274195f6dad3f3ee462bc310c1b07743af10c76
7
- data.tar.gz: e56d5f65d3ef2e7e3d6a1ba35297305f49eb130e7341f6f510f408d30692d8c96bf0804c38ca6c52a158732786931dcfc320f97d3e272b161cdf4bb5911582c7
6
+ metadata.gz: 47e4610788b957b4126650e97973fab8dd59ef370728742377127b44a542b515d5aa2294f39bf0c92e53e5553e635b89bf650c31d04d28648b1983f02db8cbb4
7
+ data.tar.gz: 0e8edbcac6e4fe31be1b01fb456a3f288764a6799817bbe8121cec2f3e2791a4e55243a06c9ce20c97ac807d3ff84bf71396fd9ac0a4ea07fe1d9d3d1219aa2a
@@ -5,7 +5,7 @@ require 'geocodio/timezone'
5
5
 
6
6
  module Geocodio
7
7
  class Address
8
- attr_reader :number, :predirectional, :street, :suffix, :city, :state, :zip
8
+ attr_reader :number, :predirectional, :street, :suffix, :city, :state, :zip, :county
9
9
 
10
10
  attr_reader :latitude, :longitude
11
11
  alias :lat :latitude
@@ -48,6 +48,7 @@ module Geocodio
48
48
  @city = attributes['city']
49
49
  @state = attributes['state']
50
50
  @zip = attributes['zip']
51
+ @county = attributes['county']
51
52
  end
52
53
 
53
54
  def set_coordinates(coordinates)
@@ -2,7 +2,7 @@ module Geocodio
2
2
  class Version
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  def self.to_s
8
8
  [MAJOR, MINOR, PATCH].join('.')
@@ -80,6 +80,10 @@ describe Geocodio::Address do
80
80
  expect(address.city).to eq('Pasadena')
81
81
  end
82
82
 
83
+ it 'has a county' do
84
+ expect(address.county).to eq('Los Angeles County')
85
+ end
86
+
83
87
  it 'has a state' do
84
88
  expect(address.state).to eq('CA')
85
89
  end
@@ -89,13 +93,13 @@ describe Geocodio::Address do
89
93
  end
90
94
 
91
95
  it 'has a latitude' do
92
- expect(address.latitude).to eq(34.145760590909)
93
- expect(address.lat).to eq(34.145760590909)
96
+ expect(address.latitude).to eq(34.145764409091)
97
+ expect(address.lat).to eq(34.145764409091)
94
98
  end
95
99
 
96
100
  it 'has a longitude' do
97
- expect(address.longitude).to eq(-118.15204363636)
98
- expect(address.lng).to eq(-118.15204363636)
101
+ expect(address.longitude).to eq(-118.15159636364)
102
+ expect(address.lng).to eq(-118.15159636364)
99
103
  end
100
104
 
101
105
  it 'has an accuracy' do
@@ -18,11 +18,11 @@ describe Geocodio::CongressionalDistrict do
18
18
  end
19
19
 
20
20
  it 'has a congress_number' do
21
- expect(district.congress_number).to eq(113)
21
+ expect(district.congress_number).to eq(114)
22
22
  end
23
23
 
24
24
  it 'has a congress_years' do
25
- expect(district.congress_years).to eq(2013..2015)
25
+ expect(district.congress_years).to eq(2015..2017)
26
26
  end
27
27
 
28
28
  end
@@ -14,7 +14,7 @@ describe Geocodio::SchoolDistrict do
14
14
  end
15
15
 
16
16
  it 'has a lea_code' do
17
- expect(district.lea_code).to eq('29940')
17
+ expect(district.lea_code).to eq('0629940')
18
18
  end
19
19
 
20
20
  it 'has a grade_low' do
@@ -5,8 +5,8 @@ http_interactions:
5
5
  uri: http://api.geocod.io/v1/geocode?api_key=secret_api_key
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "[\"1 Infinite Loop Cupertino CA 95014\",\"54 West Colorado Boulevard
9
- Pasadena CA 91105\",\"826 Howard Street San Francisco CA 94103\"]"
8
+ string: '["1 Infinite Loop Cupertino CA 95014","54 West Colorado Boulevard Pasadena
9
+ CA 91105","826 Howard Street San Francisco CA 94103"]'
10
10
  headers:
11
11
  Accept:
12
12
  - application/json
@@ -21,37 +21,44 @@ http_interactions:
21
21
  code: 200
22
22
  message: OK
23
23
  headers:
24
- Date:
25
- - Tue, 21 Jan 2014 20:08:06 GMT
26
24
  Server:
27
- - Apache
28
- X-Powered-By:
29
- - PHP/5.4.24
25
+ - nginx/1.2.1
26
+ Content-Type:
27
+ - application/json
28
+ Transfer-Encoding:
29
+ - chunked
30
30
  Cache-Control:
31
31
  - no-cache
32
+ Date:
33
+ - Wed, 22 Jul 2015 17:24:22 GMT
32
34
  Access-Control-Allow-Origin:
33
35
  - "*"
34
- Transfer-Encoding:
35
- - chunked
36
- Content-Type:
37
- - application/json
38
36
  body:
39
- encoding: UTF-8
40
- string: "{\"results\":[{\"query\":\"1 Infinite Loop Cupertino CA 95014\",\"response\":{\"input\":{\"address_components\":{\"number\":\"1\",\"street\":\"Infinite\",\"suffix\":\"Loop\",\"city\":\"Cupertino\",\"state\":\"CA\",\"zip\":\"95014\"},\"formatted_address\":\"1
41
- Infinite Loop, Cupertino CA, 95014\"},\"results\":[{\"address_components\":{\"number\":\"1\",\"street\":\"Infinite\",\"suffix\":\"Loop\",\"city\":\"Monta
42
- Vista\",\"state\":\"CA\",\"zip\":\"95014\"},\"formatted_address\":\"1 Infinite
43
- Loop, Monta Vista CA, 95014\",\"location\":{\"lat\":37.331669,\"lng\":-122.03074},\"accuracy\":1}]}},{\"query\":\"54
44
- West Colorado Boulevard Pasadena CA 91105\",\"response\":{\"input\":{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
45
- W Colorado Blvd, Pasadena CA, 91105\"},\"results\":[{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
46
- W Colorado Blvd, Pasadena CA, 91105\",\"location\":{\"lat\":34.145760590909,\"lng\":-118.15204363636},\"accuracy\":1},{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
47
- W Colorado Blvd, Pasadena CA, 91105\",\"location\":{\"lat\":34.1457634625,\"lng\":-118.15170725},\"accuracy\":0.8}]}},{\"query\":\"826
48
- Howard Street San Francisco CA 94103\",\"response\":{\"input\":{\"address_components\":{\"number\":\"826\",\"street\":\"Howard\",\"suffix\":\"St\",\"city\":\"San
49
- Francisco\",\"state\":\"CA\",\"zip\":\"94103\"},\"formatted_address\":\"826
50
- Howard St, San Francisco CA, 94103\"},\"results\":[{\"address_components\":{\"number\":\"826\",\"street\":\"Howard\",\"suffix\":\"St\",\"city\":\"San
51
- Francisco\",\"state\":\"CA\",\"zip\":\"94103\"},\"formatted_address\":\"826
52
- Howard St, San Francisco CA, 94103\",\"location\":{\"lat\":37.7815,\"lng\":-122.404933},\"accuracy\":1},{\"address_components\":{\"number\":\"826\",\"street\":\"Howard\",\"suffix\":\"St\",\"city\":\"San
53
- Francisco\",\"state\":\"CA\",\"zip\":\"94103\"},\"formatted_address\":\"826
54
- Howard St, San Francisco CA, 94103\",\"location\":{\"lat\":37.781552539474,\"lng\":-122.40486656579},\"accuracy\":0.8}]}}]}"
37
+ encoding: ASCII-8BIT
38
+ string: '{"results":[{"query":"1 Infinite Loop Cupertino CA 95014","response":{"input":{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
39
+ Loop","city":"Cupertino","state":"CA","zip":"95014"},"formatted_address":"1
40
+ Infinite Loop, Cupertino, CA 95014"},"results":[{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
41
+ Loop","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"1
42
+ Infinite Loop, Cupertino, CA 95014","location":{"lat":37.330539,"lng":-122.02912},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
43
+ dataset from the US Census Bureau"}]}},{"query":"54 West Colorado Boulevard
44
+ Pasadena CA 91105","response":{"input":{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
45
+ Colorado Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
46
+ W Colorado Blvd, Pasadena, CA 91105"},"results":[{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
47
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
48
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145764409091,"lng":-118.15159636364},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
49
+ dataset from the US Census Bureau"},{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
50
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
51
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.1457615375,"lng":-118.15193275},"accuracy":0.8,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
52
+ dataset from the US Census Bureau"}]}},{"query":"826 Howard Street San Francisco
53
+ CA 94103","response":{"input":{"address_components":{"number":"826","street":"Howard","suffix":"St","formatted_street":"Howard
54
+ St","city":"San Francisco","state":"CA","zip":"94103"},"formatted_address":"826
55
+ Howard St, San Francisco, CA 94103"},"results":[{"address_components":{"number":"826","street":"Howard","suffix":"St","formatted_street":"Howard
56
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"826
57
+ Howard St, San Francisco, CA 94103","location":{"lat":37.782831,"lng":-122.40325},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
58
+ dataset from the US Census Bureau"},{"address_components":{"number":"826","street":"Howard","suffix":"St","formatted_street":"Howard
59
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"826
60
+ Howard St, San Francisco, CA 94103","location":{"lat":37.782778460526,"lng":-122.40331643421},"accuracy":0.8,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
61
+ dataset from the US Census Bureau"}]}}]}'
55
62
  http_version:
56
- recorded_at: Tue, 21 Jan 2014 20:08:08 GMT
57
- recorded_with: VCR 2.8.0
63
+ recorded_at: Wed, 22 Jul 2015 17:24:22 GMT
64
+ recorded_with: VCR 2.9.3
@@ -26,21 +26,21 @@ http_interactions:
26
26
  - application/json
27
27
  Transfer-Encoding:
28
28
  - chunked
29
- Connection:
30
- - keep-alive
31
29
  Cache-Control:
32
30
  - no-cache
33
31
  Date:
34
- - Thu, 10 Apr 2014 15:55:59 GMT
32
+ - Wed, 22 Jul 2015 17:24:23 GMT
35
33
  Access-Control-Allow-Origin:
36
34
  - "*"
37
35
  body:
38
- encoding: UTF-8
39
- string: '{"results":[{"query":"1 Infinite Loop Cupertino CA 95014","response":{"input":{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","city":"Cupertino","state":"CA","zip":"95014"},"formatted_address":"1
40
- Infinite Loop, Cupertino, CA 95014"},"results":[{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","city":"Cupertino","county":"Santa
41
- Clara County","state":"CA","zip":"95014"},"formatted_address":"1 Infinite
42
- Loop, Cupertino, CA 95014","location":{"lat":37.331669,"lng":-122.03074},"accuracy":1}]}},{"query":"
43
- , , ","response":{"error":"Could not parse address"}}]}'
36
+ encoding: ASCII-8BIT
37
+ string: '{"results":[{"query":"1 Infinite Loop Cupertino CA 95014","response":{"input":{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
38
+ Loop","city":"Cupertino","state":"CA","zip":"95014"},"formatted_address":"1
39
+ Infinite Loop, Cupertino, CA 95014"},"results":[{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
40
+ Loop","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"1
41
+ Infinite Loop, Cupertino, CA 95014","location":{"lat":37.330539,"lng":-122.02912},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
42
+ dataset from the US Census Bureau"}]}},{"query":" , , ","response":{"error":"Could
43
+ not geocode address. Postal code or city required."}}]}'
44
44
  http_version:
45
- recorded_at: Thu, 10 Apr 2014 15:55:59 GMT
46
- recorded_with: VCR 2.8.0
45
+ recorded_at: Wed, 22 Jul 2015 17:24:23 GMT
46
+ recorded_with: VCR 2.9.3
@@ -27,52 +27,59 @@ http_interactions:
27
27
  - application/json
28
28
  Transfer-Encoding:
29
29
  - chunked
30
- Connection:
31
- - keep-alive
32
30
  Cache-Control:
33
31
  - no-cache
34
32
  Date:
35
- - Fri, 28 Mar 2014 16:00:59 GMT
33
+ - Wed, 22 Jul 2015 17:24:24 GMT
36
34
  Access-Control-Allow-Origin:
37
35
  - "*"
38
36
  body:
39
- encoding: UTF-8
40
- string: '{"results":[{"query":"1 Infinite Loop Cupertino CA 95014","response":{"input":{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","city":"Cupertino","state":"CA","zip":"95014"},"formatted_address":"1
41
- Infinite Loop, Cupertino, CA 95014"},"results":[{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","city":"Cupertino","county":"Santa
42
- Clara County","state":"CA","zip":"95014"},"formatted_address":"1 Infinite
43
- Loop, Cupertino, CA 95014","location":{"lat":37.331669,"lng":-122.03074},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
44
- District 17","district_number":17,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
45
- Senate District 15","district_number":15},"house":{"name":"Assembly District
46
- 15","district_number":15}},"school_districts":{"secondary":{"name":"Fremont
47
- Union High School District","lea_code":"14430","grade_low":"09","grade_high":"12"},"elementary":{"name":"Cupertino
48
- Union Elementary School District","lea_code":"10290","grade_low":"KG","grade_high":"08"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"54
49
- West Colorado Boulevard Pasadena CA 91105","response":{"input":{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
50
- W Colorado Blvd, Pasadena, CA 91105"},"results":[{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","county":"Los
51
- Angeles County","state":"CA","zip":"91105"},"formatted_address":"54 W Colorado
52
- Blvd, Pasadena, CA 91105","location":{"lat":34.145760590909,"lng":-118.15204363636},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
53
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
54
- Senate District 25","district_number":25},"house":{"name":"Assembly District
55
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
56
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","county":"Los
57
- Angeles County","state":"CA","zip":"91105"},"formatted_address":"54 W Colorado
58
- Blvd, Pasadena, CA 91105","location":{"lat":34.1457634625,"lng":-118.15170725},"accuracy":0.8,"fields":{"congressional_district":{"name":"Congressional
59
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
60
- Senate District 25","district_number":25},"house":{"name":"Assembly District
61
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
62
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"826
63
- Howard Street San Francisco CA 94103","response":{"input":{"address_components":{"number":"826","street":"Howard","suffix":"St","city":"San
64
- Francisco","state":"CA","zip":"94103"},"formatted_address":"826 Howard St,
65
- San Francisco, CA 94103"},"results":[{"address_components":{"number":"826","street":"Howard","suffix":"St","city":"San
66
- Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"826
67
- Howard St, San Francisco, CA 94103","location":{"lat":37.7815,"lng":-122.404933},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
68
- District 12","district_number":12,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
69
- Senate District 11","district_number":11},"house":{"name":"Assembly District
70
- 11","district_number":11}},"school_districts":[],"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"826","street":"Howard","suffix":"St","city":"San
71
- Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"826
72
- Howard St, San Francisco, CA 94103","location":{"lat":37.781552539474,"lng":-122.40486656579},"accuracy":0.8,"fields":{"congressional_district":{"name":"Congressional
73
- District 12","district_number":12,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
74
- Senate District 11","district_number":11},"house":{"name":"Assembly District
75
- 11","district_number":11}},"school_districts":[],"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}}]}'
37
+ encoding: ASCII-8BIT
38
+ string: '{"results":[{"query":"1 Infinite Loop Cupertino CA 95014","response":{"input":{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
39
+ Loop","city":"Cupertino","state":"CA","zip":"95014"},"formatted_address":"1
40
+ Infinite Loop, Cupertino, CA 95014"},"results":[{"address_components":{"number":"1","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
41
+ Loop","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"1
42
+ Infinite Loop, Cupertino, CA 95014","location":{"lat":37.330539,"lng":-122.02912},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
43
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
44
+ District 17","district_number":17,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
45
+ District 28","district_number":28},"senate":{"name":"State Senate District
46
+ 15","district_number":15}},"school_districts":{"elementary":{"name":"Cupertino
47
+ Union Elementary School District","lea_code":"0610290","grade_low":"KG","grade_high":"08"},"secondary":{"name":"Fremont
48
+ Union High School District","lea_code":"0614430","grade_low":"09","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"54
49
+ West Colorado Boulevard Pasadena CA 91105","response":{"input":{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
50
+ Colorado Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
51
+ W Colorado Blvd, Pasadena, CA 91105"},"results":[{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
52
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
53
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145764409091,"lng":-118.15159636364},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
54
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
55
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
56
+ District 41","district_number":41},"senate":{"name":"State Senate District
57
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
58
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
59
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
60
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.1457615375,"lng":-118.15193275},"accuracy":0.8,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
61
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
62
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
63
+ District 41","district_number":41},"senate":{"name":"State Senate District
64
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
65
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"826
66
+ Howard Street San Francisco CA 94103","response":{"input":{"address_components":{"number":"826","street":"Howard","suffix":"St","formatted_street":"Howard
67
+ St","city":"San Francisco","state":"CA","zip":"94103"},"formatted_address":"826
68
+ Howard St, San Francisco, CA 94103"},"results":[{"address_components":{"number":"826","street":"Howard","suffix":"St","formatted_street":"Howard
69
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"826
70
+ Howard St, San Francisco, CA 94103","location":{"lat":37.782831,"lng":-122.40325},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
71
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
72
+ District 12","district_number":12,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
73
+ District 17","district_number":17},"senate":{"name":"State Senate District
74
+ 11","district_number":11}},"school_districts":{"unified":{"name":"San Francisco
75
+ Unified School District","lea_code":"0634410","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"826","street":"Howard","suffix":"St","formatted_street":"Howard
76
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"826
77
+ Howard St, San Francisco, CA 94103","location":{"lat":37.782778460526,"lng":-122.40331643421},"accuracy":0.8,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
78
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
79
+ District 12","district_number":12,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
80
+ District 17","district_number":17},"senate":{"name":"State Senate District
81
+ 11","district_number":11}},"school_districts":{"unified":{"name":"San Francisco
82
+ Unified School District","lea_code":"0634410","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}}]}'
76
83
  http_version:
77
- recorded_at: Fri, 28 Mar 2014 16:00:59 GMT
78
- recorded_with: VCR 2.8.0
84
+ recorded_at: Wed, 22 Jul 2015 17:24:24 GMT
85
+ recorded_with: VCR 2.9.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.geocod.io/v1/reverse?api_key=secret_api_key
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "[\"37.331669,-122.03074\",\"34.145760590909,-118.15204363636\",\"37.7815,-122.404933\"]"
8
+ string: '["37.331669,-122.03074","34.145760590909,-118.15204363636","37.7815,-122.404933"]'
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
@@ -20,34 +20,49 @@ http_interactions:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- Date:
24
- - Mon, 03 Feb 2014 16:12:36 GMT
25
23
  Server:
26
- - Apache
27
- X-Powered-By:
28
- - PHP/5.4.24
24
+ - nginx/1.2.1
25
+ Content-Type:
26
+ - application/json
27
+ Transfer-Encoding:
28
+ - chunked
29
29
  Cache-Control:
30
30
  - no-cache
31
+ Date:
32
+ - Wed, 22 Jul 2015 17:24:20 GMT
31
33
  Access-Control-Allow-Origin:
32
34
  - "*"
33
- Transfer-Encoding:
34
- - chunked
35
- Content-Type:
36
- - application/json
37
35
  body:
38
- encoding: UTF-8
39
- string: "{\"results\":[{\"query\":\"37.331669,-122.03074\",\"response\":{\"results\":[]}},{\"query\":\"34.145760590909,-118.15204363636\",\"response\":{\"results\":[{\"address_components\":{\"number\":\"43\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"43
40
- W Colorado Blvd, Pasadena, CA 91105\",\"location\":{\"lat\":34.145766,\"lng\":-118.15141},\"accuracy\":1},{\"address_components\":{\"number\":\"1\",\"predirectional\":\"N\",\"street\":\"De
41
- Lacey\",\"suffix\":\"Ave\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91103\"},\"formatted_address\":\"1
42
- N De Lacey Ave, Pasadena, CA 91103\",\"location\":{\"lat\":34.145759,\"lng\":-118.15223},\"accuracy\":0},{\"address_components\":{\"number\":\"1\",\"predirectional\":\"S\",\"street\":\"De
43
- Lacey\",\"suffix\":\"Ave\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"1
44
- S De Lacey Ave, Pasadena, CA 91105\",\"location\":{\"lat\":34.145759,\"lng\":-118.15223},\"accuracy\":0}]}},{\"query\":\"37.7815,-122.404933\",\"response\":{\"results\":[{\"address_components\":{\"number\":\"177\",\"street\":\"5th\",\"suffix\":\"St\",\"city\":\"San
45
- Francisco\",\"state\":\"CA\",\"zip\":\"94102\"},\"formatted_address\":\"177
46
- 5th St, San Francisco, CA 94102\",\"location\":{\"lat\":37.781925,\"lng\":-122.405466},\"accuracy\":0},{\"address_components\":{\"number\":\"861\",\"street\":\"Howard\",\"suffix\":\"St\",\"city\":\"San
47
- Francisco\",\"state\":\"CA\",\"zip\":\"94103\"},\"formatted_address\":\"861
48
- Howard St, San Francisco, CA 94103\",\"location\":{\"lat\":37.782831,\"lng\":-122.40325},\"accuracy\":0},{\"address_components\":{\"number\":\"900\",\"street\":\"Howard\",\"suffix\":\"St\",\"city\":\"San
49
- Francisco\",\"state\":\"CA\",\"zip\":\"94103\"},\"formatted_address\":\"900
50
- Howard St, San Francisco, CA 94103\",\"location\":{\"lat\":37.7815,\"lng\":-122.404933},\"accuracy\":0}]}}]}"
36
+ encoding: ASCII-8BIT
37
+ string: '{"results":[{"query":"37.331669,-122.03074","response":{"results":[{"address_components":{"number":"91","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
38
+ Loop","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"91
39
+ Infinite Loop, Cupertino, CA 95014","location":{"lat":37.332709,"lng":-122.03071},"accuracy":1,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
40
+ dataset from the US Census Bureau"},{"address_components":{"number":"19118","street":"Mariani","suffix":"Ave","formatted_street":"Mariani
41
+ Ave","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"19118
42
+ Mariani Ave, Cupertino, CA 95014","location":{"lat":37.330489,"lng":-122.0305},"accuracy":0.28,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
43
+ dataset from the US Census Bureau"},{"address_components":{"number":"19116","street":"Mariani","suffix":"Ave","formatted_street":"Mariani
44
+ Ave","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"19116
45
+ Mariani Ave, Cupertino, CA 95014","location":{"lat":37.330407,"lng":-122.030873},"accuracy":0.28,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
46
+ dataset from the US Census Bureau"}]}},{"query":"34.145760590909,-118.15204363636","response":{"results":[{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
47
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"43
48
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":1,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
49
+ dataset from the US Census Bureau"},{"address_components":{"number":"1","predirectional":"N","street":"De
50
+ Lacey","suffix":"Ave","formatted_street":"N De Lacey Ave","city":"Pasadena","county":"Los
51
+ Angeles County","state":"CA","zip":"91103"},"formatted_address":"1 N De Lacey
52
+ Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
53
+ dataset from the US Census Bureau"},{"address_components":{"number":"85","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
54
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"85
55
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
56
+ dataset from the US Census Bureau"}]}},{"query":"37.7815,-122.404933","response":{"results":[{"address_components":{"number":"177","street":"5th","suffix":"St","formatted_street":"5th
57
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94102"},"formatted_address":"177
58
+ 5th St, San Francisco, CA 94102","location":{"lat":37.781925,"lng":-122.405466},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
59
+ dataset from the US Census Bureau"},{"address_components":{"number":"900","street":"Howard","suffix":"St","formatted_street":"Howard
60
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"900
61
+ Howard St, San Francisco, CA 94103","location":{"lat":37.7815,"lng":-122.404933},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
62
+ dataset from the US Census Bureau"},{"address_components":{"number":"861","street":"Howard","suffix":"St","formatted_street":"Howard
63
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"861
64
+ Howard St, San Francisco, CA 94103","location":{"lat":37.782831,"lng":-122.40325},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
65
+ dataset from the US Census Bureau"}]}}]}'
51
66
  http_version:
52
- recorded_at: Mon, 03 Feb 2014 16:12:38 GMT
53
- recorded_with: VCR 2.8.0
67
+ recorded_at: Wed, 22 Jul 2015 17:24:21 GMT
68
+ recorded_with: VCR 2.9.3
@@ -26,71 +26,82 @@ http_interactions:
26
26
  - application/json
27
27
  Transfer-Encoding:
28
28
  - chunked
29
- Connection:
30
- - keep-alive
31
29
  Cache-Control:
32
30
  - no-cache
33
31
  Date:
34
- - Fri, 28 Mar 2014 16:25:49 GMT
32
+ - Wed, 22 Jul 2015 17:24:21 GMT
35
33
  Access-Control-Allow-Origin:
36
34
  - "*"
37
35
  body:
38
- encoding: UTF-8
39
- string: '{"results":[{"query":"37.331669,-122.03074","response":{"results":[{"address_components":{"number":"91","street":"Infinite","suffix":"Loop","city":"Cupertino","county":"Santa
40
- Clara County","state":"CA","zip":"95014"},"formatted_address":"91 Infinite
41
- Loop, Cupertino, CA 95014","location":{"lat":37.332709,"lng":-122.03071},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
42
- District 17","district_number":17,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
43
- Senate District 15","district_number":15},"house":{"name":"Assembly District
44
- 15","district_number":15}},"school_districts":{"secondary":{"name":"Fremont
45
- Union High School District","lea_code":"14430","grade_low":"09","grade_high":"12"},"elementary":{"name":"Cupertino
46
- Union Elementary School District","lea_code":"10290","grade_low":"KG","grade_high":"08"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"19116","street":"Mariani","suffix":"Ave","city":"Cupertino","county":"Santa
47
- Clara County","state":"CA","zip":"95014"},"formatted_address":"19116 Mariani
48
- Ave, Cupertino, CA 95014","location":{"lat":37.330407,"lng":-122.030873},"accuracy":0.28,"fields":{"congressional_district":{"name":"Congressional
49
- District 17","district_number":17,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
50
- Senate District 15","district_number":15},"house":{"name":"Assembly District
51
- 15","district_number":15}},"school_districts":{"secondary":{"name":"Fremont
52
- Union High School District","lea_code":"14430","grade_low":"09","grade_high":"12"},"elementary":{"name":"Cupertino
53
- Union Elementary School District","lea_code":"10290","grade_low":"KG","grade_high":"08"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"19118","street":"Mariani","suffix":"Ave","city":"Cupertino","county":"Santa
54
- Clara County","state":"CA","zip":"95014"},"formatted_address":"19118 Mariani
55
- Ave, Cupertino, CA 95014","location":{"lat":37.330489,"lng":-122.0305},"accuracy":0.28,"fields":{"congressional_district":{"name":"Congressional
56
- District 17","district_number":17,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
57
- Senate District 15","district_number":15},"house":{"name":"Assembly District
58
- 15","district_number":15}},"school_districts":{"secondary":{"name":"Fremont
59
- Union High School District","lea_code":"14430","grade_low":"09","grade_high":"12"},"elementary":{"name":"Cupertino
60
- Union Elementary School District","lea_code":"10290","grade_low":"KG","grade_high":"08"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"34.145760590909,-118.15204363636","response":{"results":[{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","county":"Los
61
- Angeles County","state":"CA","zip":"91105"},"formatted_address":"43 W Colorado
62
- Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
63
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
64
- Senate District 25","district_number":25},"house":{"name":"Assembly District
65
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
66
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"1","predirectional":"N","street":"De
67
- Lacey","suffix":"Ave","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91103"},"formatted_address":"1
68
- N De Lacey Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
69
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
70
- Senate District 25","district_number":25},"house":{"name":"Assembly District
71
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
72
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"1","predirectional":"S","street":"De
73
- Lacey","suffix":"Ave","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"1
74
- S De Lacey Ave, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
75
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
76
- Senate District 25","district_number":25},"house":{"name":"Assembly District
77
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
78
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"37.7815,-122.404933","response":{"results":[{"address_components":{"number":"177","street":"5th","suffix":"St","city":"San
79
- Francisco","county":"San Francisco County","state":"CA","zip":"94102"},"formatted_address":"177
80
- 5th St, San Francisco, CA 94102","location":{"lat":37.781925,"lng":-122.405466},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
81
- District 12","district_number":12,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
82
- Senate District 11","district_number":11},"house":{"name":"Assembly District
83
- 11","district_number":11}},"school_districts":[],"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"861","street":"Howard","suffix":"St","city":"San
84
- Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"861
85
- Howard St, San Francisco, CA 94103","location":{"lat":37.782831,"lng":-122.40325},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
86
- District 12","district_number":12,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
87
- Senate District 11","district_number":11},"house":{"name":"Assembly District
88
- 11","district_number":11}},"school_districts":[],"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"900","street":"Howard","suffix":"St","city":"San
89
- Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"900
90
- Howard St, San Francisco, CA 94103","location":{"lat":37.7815,"lng":-122.404933},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
91
- District 12","district_number":12,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
92
- Senate District 11","district_number":11},"house":{"name":"Assembly District
93
- 11","district_number":11}},"school_districts":[],"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}}]}'
36
+ encoding: ASCII-8BIT
37
+ string: '{"results":[{"query":"37.331669,-122.03074","response":{"results":[{"address_components":{"number":"91","street":"Infinite","suffix":"Loop","formatted_street":"Infinite
38
+ Loop","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"91
39
+ Infinite Loop, Cupertino, CA 95014","location":{"lat":37.332709,"lng":-122.03071},"accuracy":1,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
40
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
41
+ District 17","district_number":17,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
42
+ District 28","district_number":28},"senate":{"name":"State Senate District
43
+ 15","district_number":15}},"school_districts":{"elementary":{"name":"Cupertino
44
+ Union Elementary School District","lea_code":"0610290","grade_low":"KG","grade_high":"08"},"secondary":{"name":"Fremont
45
+ Union High School District","lea_code":"0614430","grade_low":"09","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"19118","street":"Mariani","suffix":"Ave","formatted_street":"Mariani
46
+ Ave","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"19118
47
+ Mariani Ave, Cupertino, CA 95014","location":{"lat":37.330489,"lng":-122.0305},"accuracy":0.28,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
48
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
49
+ District 17","district_number":17,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
50
+ District 28","district_number":28},"senate":{"name":"State Senate District
51
+ 15","district_number":15}},"school_districts":{"elementary":{"name":"Cupertino
52
+ Union Elementary School District","lea_code":"0610290","grade_low":"KG","grade_high":"08"},"secondary":{"name":"Fremont
53
+ Union High School District","lea_code":"0614430","grade_low":"09","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"19116","street":"Mariani","suffix":"Ave","formatted_street":"Mariani
54
+ Ave","city":"Cupertino","county":"Santa Clara County","state":"CA","zip":"95014"},"formatted_address":"19116
55
+ Mariani Ave, Cupertino, CA 95014","location":{"lat":37.330407,"lng":-122.030873},"accuracy":0.28,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
56
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
57
+ District 17","district_number":17,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
58
+ District 28","district_number":28},"senate":{"name":"State Senate District
59
+ 15","district_number":15}},"school_districts":{"elementary":{"name":"Cupertino
60
+ Union Elementary School District","lea_code":"0610290","grade_low":"KG","grade_high":"08"},"secondary":{"name":"Fremont
61
+ Union High School District","lea_code":"0614430","grade_low":"09","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"34.145760590909,-118.15204363636","response":{"results":[{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
62
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"43
63
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":1,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
64
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
65
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
66
+ District 41","district_number":41},"senate":{"name":"State Senate District
67
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
68
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"1","predirectional":"N","street":"De
69
+ Lacey","suffix":"Ave","formatted_street":"N De Lacey Ave","city":"Pasadena","county":"Los
70
+ Angeles County","state":"CA","zip":"91103"},"formatted_address":"1 N De Lacey
71
+ Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
72
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
73
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
74
+ District 41","district_number":41},"senate":{"name":"State Senate District
75
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
76
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"85","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
77
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"85
78
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
79
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
80
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
81
+ District 41","district_number":41},"senate":{"name":"State Senate District
82
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
83
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}},{"query":"37.7815,-122.404933","response":{"results":[{"address_components":{"number":"177","street":"5th","suffix":"St","formatted_street":"5th
84
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94102"},"formatted_address":"177
85
+ 5th St, San Francisco, CA 94102","location":{"lat":37.781925,"lng":-122.405466},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
86
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
87
+ District 12","district_number":12,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
88
+ District 17","district_number":17},"senate":{"name":"State Senate District
89
+ 11","district_number":11}},"school_districts":{"unified":{"name":"San Francisco
90
+ Unified School District","lea_code":"0634410","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"900","street":"Howard","suffix":"St","formatted_street":"Howard
91
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"900
92
+ Howard St, San Francisco, CA 94103","location":{"lat":37.7815,"lng":-122.404933},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
93
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
94
+ District 12","district_number":12,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
95
+ District 17","district_number":17},"senate":{"name":"State Senate District
96
+ 11","district_number":11}},"school_districts":{"unified":{"name":"San Francisco
97
+ Unified School District","lea_code":"0634410","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"861","street":"Howard","suffix":"St","formatted_street":"Howard
98
+ St","city":"San Francisco","county":"San Francisco County","state":"CA","zip":"94103"},"formatted_address":"861
99
+ Howard St, San Francisco, CA 94103","location":{"lat":37.782831,"lng":-122.40325},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
100
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
101
+ District 12","district_number":12,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
102
+ District 17","district_number":17},"senate":{"name":"State Senate District
103
+ 11","district_number":11}},"school_districts":{"unified":{"name":"San Francisco
104
+ Unified School District","lea_code":"0634410","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}}]}'
94
105
  http_version:
95
- recorded_at: Fri, 28 Mar 2014 16:25:49 GMT
96
- recorded_with: VCR 2.8.0
106
+ recorded_at: Wed, 22 Jul 2015 17:24:21 GMT
107
+ recorded_with: VCR 2.9.3
@@ -18,26 +18,29 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Date:
22
- - Mon, 03 Feb 2014 16:11:04 GMT
23
21
  Server:
24
- - Apache
25
- X-Powered-By:
26
- - PHP/5.4.24
22
+ - nginx/1.2.1
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
27
  Cache-Control:
28
28
  - no-cache
29
+ Date:
30
+ - Wed, 22 Jul 2015 17:24:18 GMT
29
31
  Access-Control-Allow-Origin:
30
32
  - "*"
31
- Transfer-Encoding:
32
- - chunked
33
- Content-Type:
34
- - application/json
35
33
  body:
36
- encoding: UTF-8
37
- string: "{\"input\":{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
38
- W Colorado Blvd, Pasadena, CA 91105\"},\"results\":[{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
39
- W Colorado Blvd, Pasadena, CA 91105\",\"location\":{\"lat\":34.145760590909,\"lng\":-118.15204363636},\"accuracy\":1},{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
40
- W Colorado Blvd, Pasadena, CA 91105\",\"location\":{\"lat\":34.1457634625,\"lng\":-118.15170725},\"accuracy\":0.8}]}"
34
+ encoding: ASCII-8BIT
35
+ string: '{"input":{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
36
+ Colorado Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
37
+ W Colorado Blvd, Pasadena, CA 91105"},"results":[{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
38
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
39
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145764409091,"lng":-118.15159636364},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
40
+ dataset from the US Census Bureau"},{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
41
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
42
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.1457615375,"lng":-118.15193275},"accuracy":0.8,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
43
+ dataset from the US Census Bureau"}]}'
41
44
  http_version:
42
- recorded_at: Mon, 03 Feb 2014 16:11:05 GMT
43
- recorded_with: VCR 2.8.0
45
+ recorded_at: Wed, 22 Jul 2015 17:24:19 GMT
46
+ recorded_with: VCR 2.9.3
@@ -24,17 +24,15 @@ http_interactions:
24
24
  - application/json
25
25
  Transfer-Encoding:
26
26
  - chunked
27
- Connection:
28
- - keep-alive
29
27
  Cache-Control:
30
28
  - no-cache
31
29
  Date:
32
- - Thu, 10 Apr 2014 15:54:12 GMT
30
+ - Wed, 22 Jul 2015 17:24:22 GMT
33
31
  Access-Control-Allow-Origin:
34
32
  - "*"
35
33
  body:
36
34
  encoding: UTF-8
37
- string: '{"error":"Could not parse address"}'
35
+ string: '{"error":"Could not geocode address. Postal code or city required."}'
38
36
  http_version:
39
- recorded_at: Thu, 10 Apr 2014 15:54:12 GMT
40
- recorded_with: VCR 2.8.0
37
+ recorded_at: Wed, 22 Jul 2015 17:24:22 GMT
38
+ recorded_with: VCR 2.9.3
@@ -24,30 +24,31 @@ http_interactions:
24
24
  - application/json
25
25
  Transfer-Encoding:
26
26
  - chunked
27
- Connection:
28
- - keep-alive
29
27
  Cache-Control:
30
28
  - no-cache
31
29
  Date:
32
- - Fri, 28 Mar 2014 16:00:06 GMT
30
+ - Wed, 22 Jul 2015 17:24:23 GMT
33
31
  Access-Control-Allow-Origin:
34
32
  - "*"
35
33
  body:
36
- encoding: UTF-8
37
- string: '{"input":{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
38
- W Colorado Blvd, Pasadena, CA 91105"},"results":[{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","county":"Los
39
- Angeles County","state":"CA","zip":"91105"},"formatted_address":"54 W Colorado
40
- Blvd, Pasadena, CA 91105","location":{"lat":34.145760590909,"lng":-118.15204363636},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
41
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
42
- Senate District 25","district_number":25},"house":{"name":"Assembly District
43
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
44
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","county":"Los
45
- Angeles County","state":"CA","zip":"91105"},"formatted_address":"54 W Colorado
46
- Blvd, Pasadena, CA 91105","location":{"lat":34.1457634625,"lng":-118.15170725},"accuracy":0.8,"fields":{"congressional_district":{"name":"Congressional
47
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
48
- Senate District 25","district_number":25},"house":{"name":"Assembly District
49
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
50
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}'
34
+ encoding: ASCII-8BIT
35
+ string: '{"input":{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
36
+ Colorado Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
37
+ W Colorado Blvd, Pasadena, CA 91105"},"results":[{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
38
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
39
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145764409091,"lng":-118.15159636364},"accuracy":1,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
40
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
41
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
42
+ District 41","district_number":41},"senate":{"name":"State Senate District
43
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
44
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
45
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"54
46
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.1457615375,"lng":-118.15193275},"accuracy":0.8,"accuracy_type":"range_interpolation","source":"TIGER\/Line\u00ae
47
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
48
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
49
+ District 41","district_number":41},"senate":{"name":"State Senate District
50
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
51
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}'
51
52
  http_version:
52
- recorded_at: Fri, 28 Mar 2014 16:00:06 GMT
53
- recorded_with: VCR 2.8.0
53
+ recorded_at: Wed, 22 Jul 2015 17:24:23 GMT
54
+ recorded_with: VCR 2.9.3
@@ -18,23 +18,21 @@ http_interactions:
18
18
  code: 403
19
19
  message: Forbidden
20
20
  headers:
21
- Date:
22
- - Sun, 02 Feb 2014 17:43:02 GMT
23
21
  Server:
24
- - Apache
25
- X-Powered-By:
26
- - PHP/5.4.24
22
+ - nginx/1.2.1
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
27
  Cache-Control:
28
28
  - no-cache
29
+ Date:
30
+ - Wed, 22 Jul 2015 17:25:10 GMT
29
31
  Access-Control-Allow-Origin:
30
32
  - "*"
31
- Transfer-Encoding:
32
- - chunked
33
- Content-Type:
34
- - application/json
35
33
  body:
36
- encoding: UTF-8
37
- string: "{\"error\":\"Invalid API key\"}"
34
+ encoding: ASCII-8BIT
35
+ string: '{"error":"Invalid API key"}'
38
36
  http_version:
39
- recorded_at: Sun, 02 Feb 2014 17:43:03 GMT
40
- recorded_with: VCR 2.8.0
37
+ recorded_at: Wed, 22 Jul 2015 17:25:10 GMT
38
+ recorded_with: VCR 2.9.3
@@ -18,24 +18,23 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Date:
22
- - Sun, 02 Feb 2014 17:40:52 GMT
23
21
  Server:
24
- - Apache
25
- X-Powered-By:
26
- - PHP/5.4.24
22
+ - nginx/1.2.1
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
27
  Cache-Control:
28
28
  - no-cache
29
+ Date:
30
+ - Wed, 22 Jul 2015 17:24:18 GMT
29
31
  Access-Control-Allow-Origin:
30
32
  - "*"
31
- Transfer-Encoding:
32
- - chunked
33
- Content-Type:
34
- - application/json
35
33
  body:
36
- encoding: UTF-8
37
- string: "{\"address_components\":{\"number\":\"54\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"54
38
- W Colorado Blvd, Pasadena, CA 91105\"}"
34
+ encoding: ASCII-8BIT
35
+ string: '{"address_components":{"number":"54","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
36
+ Colorado Blvd","city":"Pasadena","state":"CA","zip":"91105"},"formatted_address":"54
37
+ W Colorado Blvd, Pasadena, CA 91105"}'
39
38
  http_version:
40
- recorded_at: Sun, 02 Feb 2014 17:40:54 GMT
41
- recorded_with: VCR 2.8.0
39
+ recorded_at: Wed, 22 Jul 2015 17:24:18 GMT
40
+ recorded_with: VCR 2.9.3
@@ -18,28 +18,31 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Date:
22
- - Mon, 03 Feb 2014 16:12:36 GMT
23
21
  Server:
24
- - Apache
25
- X-Powered-By:
26
- - PHP/5.4.24
22
+ - nginx/1.2.1
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
27
  Cache-Control:
28
28
  - no-cache
29
+ Date:
30
+ - Wed, 22 Jul 2015 17:24:19 GMT
29
31
  Access-Control-Allow-Origin:
30
32
  - "*"
31
- Transfer-Encoding:
32
- - chunked
33
- Content-Type:
34
- - application/json
35
33
  body:
36
- encoding: UTF-8
37
- string: "{\"results\":[{\"address_components\":{\"number\":\"43\",\"predirectional\":\"W\",\"street\":\"Colorado\",\"suffix\":\"Blvd\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"43
38
- W Colorado Blvd, Pasadena, CA 91105\",\"location\":{\"lat\":34.145766,\"lng\":-118.15141},\"accuracy\":1},{\"address_components\":{\"number\":\"1\",\"predirectional\":\"N\",\"street\":\"De
39
- Lacey\",\"suffix\":\"Ave\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91103\"},\"formatted_address\":\"1
40
- N De Lacey Ave, Pasadena, CA 91103\",\"location\":{\"lat\":34.145759,\"lng\":-118.15223},\"accuracy\":0},{\"address_components\":{\"number\":\"1\",\"predirectional\":\"S\",\"street\":\"De
41
- Lacey\",\"suffix\":\"Ave\",\"city\":\"Pasadena\",\"state\":\"CA\",\"zip\":\"91105\"},\"formatted_address\":\"1
42
- S De Lacey Ave, Pasadena, CA 91105\",\"location\":{\"lat\":34.145759,\"lng\":-118.15223},\"accuracy\":0}]}"
34
+ encoding: ASCII-8BIT
35
+ string: '{"results":[{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
36
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"43
37
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":1,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
38
+ dataset from the US Census Bureau"},{"address_components":{"number":"1","predirectional":"N","street":"De
39
+ Lacey","suffix":"Ave","formatted_street":"N De Lacey Ave","city":"Pasadena","county":"Los
40
+ Angeles County","state":"CA","zip":"91103"},"formatted_address":"1 N De Lacey
41
+ Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
42
+ dataset from the US Census Bureau"},{"address_components":{"number":"85","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
43
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"85
44
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
45
+ dataset from the US Census Bureau"}]}'
43
46
  http_version:
44
- recorded_at: Mon, 03 Feb 2014 16:12:38 GMT
45
- recorded_with: VCR 2.8.0
47
+ recorded_at: Wed, 22 Jul 2015 17:24:19 GMT
48
+ recorded_with: VCR 2.9.3
@@ -24,35 +24,37 @@ http_interactions:
24
24
  - application/json
25
25
  Transfer-Encoding:
26
26
  - chunked
27
- Connection:
28
- - keep-alive
29
27
  Cache-Control:
30
28
  - no-cache
31
29
  Date:
32
- - Fri, 28 Mar 2014 16:27:32 GMT
30
+ - Wed, 22 Jul 2015 17:24:20 GMT
33
31
  Access-Control-Allow-Origin:
34
32
  - "*"
35
33
  body:
36
- encoding: UTF-8
37
- string: '{"results":[{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","city":"Pasadena","county":"Los
38
- Angeles County","state":"CA","zip":"91105"},"formatted_address":"43 W Colorado
39
- Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":1,"fields":{"congressional_district":{"name":"Congressional
40
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
41
- Senate District 25","district_number":25},"house":{"name":"Assembly District
42
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
43
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"1","predirectional":"N","street":"De
44
- Lacey","suffix":"Ave","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91103"},"formatted_address":"1
45
- N De Lacey Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
46
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
47
- Senate District 25","district_number":25},"house":{"name":"Assembly District
48
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
49
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"1","predirectional":"S","street":"De
50
- Lacey","suffix":"Ave","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"1
51
- S De Lacey Ave, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"fields":{"congressional_district":{"name":"Congressional
52
- District 27","district_number":27,"congress_number":"113th","congress_years":"2013-2015"},"state_legislative_districts":{"senate":{"name":"State
53
- Senate District 25","district_number":25},"house":{"name":"Assembly District
54
- 41","district_number":41}},"school_districts":{"unified":{"name":"Pasadena
55
- Unified School District","lea_code":"29940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}'
34
+ encoding: ASCII-8BIT
35
+ string: '{"results":[{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
36
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"43
37
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":1,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
38
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
39
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
40
+ District 41","district_number":41},"senate":{"name":"State Senate District
41
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
42
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"1","predirectional":"N","street":"De
43
+ Lacey","suffix":"Ave","formatted_street":"N De Lacey Ave","city":"Pasadena","county":"Los
44
+ Angeles County","state":"CA","zip":"91103"},"formatted_address":"1 N De Lacey
45
+ Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
46
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
47
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
48
+ District 41","district_number":41},"senate":{"name":"State Senate District
49
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
50
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}},{"address_components":{"number":"85","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
51
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105"},"formatted_address":"85
52
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
53
+ dataset from the US Census Bureau","fields":{"congressional_district":{"name":"Congressional
54
+ District 27","district_number":27,"congress_number":"114th","congress_years":"2015-2017"},"state_legislative_districts":{"house":{"name":"Assembly
55
+ District 41","district_number":41},"senate":{"name":"State Senate District
56
+ 25","district_number":25}},"school_districts":{"unified":{"name":"Pasadena
57
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"PST","utc_offset":-8,"observes_dst":true}}}]}'
56
58
  http_version:
57
- recorded_at: Fri, 28 Mar 2014 16:27:32 GMT
58
- recorded_with: VCR 2.8.0
59
+ recorded_at: Wed, 22 Jul 2015 17:24:20 GMT
60
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geocodio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Celis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.2.2
144
+ rubygems_version: 2.4.5
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: An unofficial Ruby client library for geocod.io