geocodio-ocd 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/lib/geocodio/address.rb +114 -0
  3. data/lib/geocodio/address_set.rb +48 -0
  4. data/lib/geocodio/canadian/electoral_district_base.rb +21 -0
  5. data/lib/geocodio/canadian/electoral_districts.rb +23 -0
  6. data/lib/geocodio/canadian/federal_electoral_district.rb +12 -0
  7. data/lib/geocodio/canadian/provincial_electoral_district.rb +6 -0
  8. data/lib/geocodio/canadian.rb +14 -0
  9. data/lib/geocodio/client/error.rb +15 -0
  10. data/lib/geocodio/client/response.rb +13 -0
  11. data/lib/geocodio/client.rb +155 -0
  12. data/lib/geocodio/congressional_district.rb +30 -0
  13. data/lib/geocodio/legislator.rb +69 -0
  14. data/lib/geocodio/school_district.rb +15 -0
  15. data/lib/geocodio/state_legislative_district.rb +16 -0
  16. data/lib/geocodio/timezone.rb +16 -0
  17. data/lib/geocodio/utils.rb +43 -0
  18. data/lib/geocodio/version.rb +13 -0
  19. data/lib/geocodio.rb +9 -0
  20. data/spec/address_set_spec.rb +31 -0
  21. data/spec/address_spec.rb +235 -0
  22. data/spec/canadian_spec.rb +77 -0
  23. data/spec/client_spec.rb +196 -0
  24. data/spec/congressional_district_spec.rb +45 -0
  25. data/spec/legislator_spec.rb +116 -0
  26. data/spec/school_district_spec.rb +27 -0
  27. data/spec/spec_helper.rb +25 -0
  28. data/spec/state_legislative_district_spec.rb +43 -0
  29. data/spec/timezone_spec.rb +23 -0
  30. data/spec/vcr_cassettes/alaska_geocode_with_fields.yml +68 -0
  31. data/spec/vcr_cassettes/batch_geocode.yml +83 -0
  32. data/spec/vcr_cassettes/batch_geocode_with_bad_address.yml +61 -0
  33. data/spec/vcr_cassettes/batch_geocode_with_fields.yml +121 -0
  34. data/spec/vcr_cassettes/batch_reverse.yml +181 -0
  35. data/spec/vcr_cassettes/batch_reverse_with_fields.yml +384 -0
  36. data/spec/vcr_cassettes/canadian.yml +101 -0
  37. data/spec/vcr_cassettes/geocode.yml +61 -0
  38. data/spec/vcr_cassettes/geocode_bad_address.yml +53 -0
  39. data/spec/vcr_cassettes/geocode_with_fields.yml +71 -0
  40. data/spec/vcr_cassettes/geocode_with_fields_legacy.yml +91 -0
  41. data/spec/vcr_cassettes/geocode_with_postdirectional.yml +61 -0
  42. data/spec/vcr_cassettes/invalid_key.yml +59 -0
  43. data/spec/vcr_cassettes/parse.yml +51 -0
  44. data/spec/vcr_cassettes/reverse.yml +97 -0
  45. data/spec/vcr_cassettes/reverse_with_fields.yml +163 -0
  46. data/spec/vcr_cassettes/reverse_with_fields_no_house_info.yml +138 -0
  47. metadata +189 -0
@@ -0,0 +1,163 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.geocod.io/v1.7/reverse?api_key=secret_api_key&fields=cd118,stateleg-next,school,timezone&q=34.145760590909,-118.15204363636
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json
23
+ Transfer-Encoding:
24
+ - chunked
25
+ Cache-Control:
26
+ - no-cache, private
27
+ Date:
28
+ - Tue, 05 Jul 2022 22:21:46 GMT
29
+ X-Billable-Lookups-Count:
30
+ - '1'
31
+ X-Billable-Fields-Count:
32
+ - '4'
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Allow-Methods:
36
+ - GET, POST
37
+ Access-Control-Allow-Headers:
38
+ - Content-Type, User-Agent
39
+ Access-Control-Expose-Headers:
40
+ - Request-Handler
41
+ Request-Handler:
42
+ - api228
43
+ Server:
44
+ - Unicorns with magic wands (https://www.geocod.io)
45
+ X-Request-Id:
46
+ - 6167D31F:FE01_05A15419:0050_62C4B97A_545C7:3D82
47
+ Connection:
48
+ - close
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"results":[{"address_components":{"number":"10","predirectional":"S","street":"DE
52
+ Lacey","suffix":"Ave","formatted_street":"S DE Lacey Ave","city":"Pasadena","county":"Los
53
+ Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"10
54
+ S DE Lacey Ave, Pasadena, CA 91105","location":{"lat":34.145373,"lng":-118.151925},"accuracy":0.99,"accuracy_type":"rooftop","source":"Los
55
+ Angeles","fields":{"congressional_districts":[{"name":"Congressional District
56
+ 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
57
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
58
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
59
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
60
+ OpenStreetMap contributors"}}},{"address_components":{"number":"58","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
61
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"58
62
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145373,"lng":-118.151925},"accuracy":0.99,"accuracy_type":"rooftop","source":"Los
63
+ Angeles","fields":{"congressional_districts":[{"name":"Congressional District
64
+ 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
65
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
66
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
67
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
68
+ OpenStreetMap contributors"}}},{"address_components":{"number":"69","street":"Mc
69
+ Cormick","suffix":"Aly","formatted_street":"Mc Cormick Aly","city":"Pasadena","county":"Los
70
+ Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"69
71
+ Mc Cormick Aly, Pasadena, CA 91105","location":{"lat":34.145373,"lng":-118.151925},"accuracy":0.99,"accuracy_type":"rooftop","source":"Los
72
+ Angeles","fields":{"congressional_districts":[{"name":"Congressional District
73
+ 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
74
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
75
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
76
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
77
+ OpenStreetMap contributors"}}},{"address_components":{"number":"60","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
78
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"60
79
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145373,"lng":-118.151925},"accuracy":0.99,"accuracy_type":"rooftop","source":"Los
80
+ Angeles","fields":{"congressional_districts":[{"name":"Congressional District
81
+ 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
82
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
83
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
84
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
85
+ OpenStreetMap contributors"}}},{"address_components":{"number":"68","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
86
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"68
87
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145373,"lng":-118.151925},"accuracy":0.99,"accuracy_type":"rooftop","source":"Los
88
+ Angeles","fields":{"congressional_districts":[{"name":"Congressional District
89
+ 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
90
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
91
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
92
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
93
+ OpenStreetMap contributors"}}},{"address_components":{"number":"1","predirectional":"N","street":"DE
94
+ Lacey","suffix":"Ave","formatted_street":"N DE Lacey Ave","city":"Pasadena","county":"Los
95
+ Angeles County","state":"CA","zip":"91103","country":"US"},"formatted_address":"1
96
+ N DE Lacey Ave, Pasadena, CA 91103","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0.98,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
97
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
98
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
99
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
100
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
101
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
102
+ OpenStreetMap contributors"}}},{"address_components":{"number":"1","predirectional":"S","street":"DE
103
+ Lacey","suffix":"Ave","formatted_street":"S DE Lacey Ave","city":"Pasadena","county":"Los
104
+ Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"1
105
+ S DE Lacey Ave, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0.98,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
106
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
107
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
108
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
109
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
110
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
111
+ OpenStreetMap contributors"}}},{"address_components":{"number":"22","predirectional":"S","street":"DE
112
+ Lacey","suffix":"Ave","formatted_street":"S DE Lacey Ave","city":"Pasadena","county":"Los
113
+ Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"22
114
+ S DE Lacey Ave, Pasadena, CA 91105","location":{"lat":34.145407,"lng":-118.152227},"accuracy":0.97,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
115
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
116
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
117
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
118
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
119
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
120
+ OpenStreetMap contributors"}}},{"address_components":{"number":"25","predirectional":"N","street":"DE
121
+ Lacey","suffix":"Ave","formatted_street":"N DE Lacey Ave","city":"Pasadena","county":"Los
122
+ Angeles County","state":"CA","zip":"91103","country":"US"},"formatted_address":"25
123
+ N DE Lacey Ave, Pasadena, CA 91103","location":{"lat":34.146409,"lng":-118.152234},"accuracy":0.96,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
124
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
125
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
126
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
127
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
128
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
129
+ OpenStreetMap contributors"}}},{"address_components":{"number":"85","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
130
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"85
131
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145759,"lng":-118.15223},"accuracy":0.47,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
132
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
133
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
134
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
135
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
136
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
137
+ OpenStreetMap contributors"}}},{"address_components":{"number":"1","street":"Fraser","suffix":"Aly","formatted_street":"Fraser
138
+ Aly","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"1
139
+ Fraser Aly, Pasadena, CA 91105","location":{"lat":34.145407,"lng":-118.152227},"accuracy":0.46,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
140
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
141
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
142
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
143
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
144
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
145
+ OpenStreetMap contributors"}}},{"address_components":{"number":"43","predirectional":"W","street":"Colorado","suffix":"Blvd","formatted_street":"W
146
+ Colorado Blvd","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91105","country":"US"},"formatted_address":"43
147
+ W Colorado Blvd, Pasadena, CA 91105","location":{"lat":34.145766,"lng":-118.15141},"accuracy":0.45,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
148
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
149
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
150
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
151
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
152
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
153
+ OpenStreetMap contributors"}}},{"address_components":{"number":"100","street":"Christiansen","suffix":"Aly","formatted_street":"Christiansen
154
+ Aly","city":"Pasadena","county":"Los Angeles County","state":"CA","zip":"91103","country":"US"},"formatted_address":"100
155
+ Christiansen Aly, Pasadena, CA 91103","location":{"lat":34.146409,"lng":-118.152234},"accuracy":0.45,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
156
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
157
+ District 28","district_number":28,"ocd_id":"ocd-division\/country:us\/state:ca\/cd:28","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Assembly
158
+ District 41","district_number":"41","ocd_id":"ocd-division\/country:us\/state:ca\/sldl:41","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"State
159
+ Senate District 25","district_number":"25","ocd_id":"ocd-division\/country:us\/state:ca\/sldu:25","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Pasadena
160
+ Unified School District","lea_code":"0629940","grade_low":"KG","grade_high":"12"}},"timezone":{"name":"America\/Los_Angeles","utc_offset":-8,"observes_dst":true,"abbreviation":"PST","source":"\u00a9
161
+ OpenStreetMap contributors"}}}]}'
162
+ recorded_at: Tue, 05 Jul 2022 22:21:47 GMT
163
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,138 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.geocod.io/v1.7/reverse?api_key=secret_api_key&fields=cd118,stateleg-next,school,timezone&q=41.25,-96.00
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Type:
22
+ - application/json
23
+ Transfer-Encoding:
24
+ - chunked
25
+ Cache-Control:
26
+ - no-cache, private
27
+ Date:
28
+ - Tue, 05 Jul 2022 22:21:46 GMT
29
+ X-Billable-Lookups-Count:
30
+ - '1'
31
+ X-Billable-Fields-Count:
32
+ - '4'
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Allow-Methods:
36
+ - GET, POST
37
+ Access-Control-Allow-Headers:
38
+ - Content-Type, User-Agent
39
+ Access-Control-Expose-Headers:
40
+ - Request-Handler
41
+ Request-Handler:
42
+ - api228
43
+ Server:
44
+ - Unicorns with magic wands (https://www.geocod.io)
45
+ X-Request-Id:
46
+ - 6167D31F:FE00_05A15419:0050_62C4B97A_54511:3D82
47
+ Connection:
48
+ - close
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"results":[{"address_components":{"number":"5548","street":"Mason","suffix":"St","formatted_street":"Mason
52
+ St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"5548
53
+ Mason St, Omaha, NE 68106","location":{"lat":41.24989,"lng":-96.00003},"accuracy":1,"accuracy_type":"rooftop","source":"Omaha","fields":{"congressional_districts":[{"name":"Congressional
54
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
55
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
56
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
57
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
58
+ OpenStreetMap contributors"}}},{"address_components":{"number":"5548","street":"Mason","suffix":"St","formatted_street":"Mason
59
+ St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"5548
60
+ Mason St, Omaha, NE 68106","location":{"lat":41.249883,"lng":-96.000022},"accuracy":1,"accuracy_type":"rooftop","source":"Statewide
61
+ NE","fields":{"congressional_districts":[{"name":"Congressional District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
62
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
63
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
64
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
65
+ OpenStreetMap contributors"}}},{"address_components":{"number":"5544","street":"Mason","suffix":"St","formatted_street":"Mason
66
+ St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"5544
67
+ Mason St, Omaha, NE 68106","location":{"lat":41.249894,"lng":-95.999881},"accuracy":1,"accuracy_type":"rooftop","source":"Douglas","fields":{"congressional_districts":[{"name":"Congressional
68
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
69
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
70
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
71
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
72
+ OpenStreetMap contributors"}}},{"address_components":{"number":"975","predirectional":"S","street":"57th","suffix":"St","formatted_street":"S
73
+ 57th St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"975
74
+ S 57th St, Omaha, NE 68106","location":{"lat":41.250211,"lng":-96.001138},"accuracy":0.44,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
75
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
76
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
77
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
78
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
79
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
80
+ OpenStreetMap contributors"}}},{"address_components":{"number":"5700","street":"Mason","suffix":"St","formatted_street":"Mason
81
+ St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"5700
82
+ Mason St, Omaha, NE 68106","location":{"lat":41.250211,"lng":-96.001138},"accuracy":0.44,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
83
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
84
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
85
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
86
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
87
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
88
+ OpenStreetMap contributors"}}},{"address_components":{"number":"1001","predirectional":"S","street":"57th","suffix":"St","formatted_street":"S
89
+ 57th St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"1001
90
+ S 57th St, Omaha, NE 68106","location":{"lat":41.249669,"lng":-96.001137},"accuracy":0.44,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
91
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
92
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
93
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
94
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
95
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
96
+ OpenStreetMap contributors"}}},{"address_components":{"number":"1021","predirectional":"S","street":"57th","suffix":"St","formatted_street":"S
97
+ 57th St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"1021
98
+ S 57th St, Omaha, NE 68106","location":{"lat":41.249486,"lng":-96.001138},"accuracy":0.43,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
99
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
100
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
101
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
102
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
103
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
104
+ OpenStreetMap contributors"}}},{"address_components":{"number":"5700","street":"Rees","suffix":"St","formatted_street":"Rees
105
+ St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"5700
106
+ Rees St, Omaha, NE 68106","location":{"lat":41.249486,"lng":-96.001138},"accuracy":0.43,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
107
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
108
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
109
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
110
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
111
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
112
+ OpenStreetMap contributors"}}},{"address_components":{"number":"962","predirectional":"S","street":"57th","suffix":"St","formatted_street":"S
113
+ 57th St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"962
114
+ S 57th St, Omaha, NE 68106","location":{"lat":41.250572,"lng":-96.001137},"accuracy":0.43,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
115
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
116
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
117
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
118
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
119
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
120
+ OpenStreetMap contributors"}}},{"address_components":{"number":"931","predirectional":"S","street":"57th","suffix":"St","formatted_street":"S
121
+ 57th St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"931
122
+ S 57th St, Omaha, NE 68106","location":{"lat":41.250914,"lng":-96.001142},"accuracy":0.43,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
123
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
124
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
125
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
126
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
127
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
128
+ OpenStreetMap contributors"}}},{"address_components":{"number":"5700","street":"Mayberry","suffix":"St","formatted_street":"Mayberry
129
+ St","city":"Omaha","county":"Douglas County","state":"NE","zip":"68106","country":"US"},"formatted_address":"5700
130
+ Mayberry St, Omaha, NE 68106","location":{"lat":41.250914,"lng":-96.001142},"accuracy":0.43,"accuracy_type":"nearest_street","source":"TIGER\/Line\u00ae
131
+ dataset from the US Census Bureau","fields":{"congressional_districts":[{"name":"Congressional
132
+ District 2","district_number":2,"ocd_id":"ocd-division\/country:us\/state:ne\/cd:2","congress_number":"118th","congress_years":"2023-2025","proportion":1}],"state_legislative_districts":{"house":[{"name":"Legislative
133
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldl:9","is_upcoming_state_legislative_district":true,"proportion":1}],"senate":[{"name":"Legislative
134
+ District 9","district_number":"9","ocd_id":"ocd-division\/country:us\/state:ne\/sldu:9","is_upcoming_state_legislative_district":true,"proportion":1}]},"school_districts":{"unified":{"name":"Omaha
135
+ Public Schools","lea_code":"3174820","grade_low":"PK","grade_high":"12"}},"timezone":{"name":"America\/Chicago","utc_offset":-6,"observes_dst":true,"abbreviation":"CST","source":"\u00a9
136
+ OpenStreetMap contributors"}}}]}'
137
+ recorded_at: Tue, 05 Jul 2022 22:21:46 GMT
138
+ recorded_with: VCR 6.1.0
metadata ADDED
@@ -0,0 +1,189 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: geocodio-ocd
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.7.0
5
+ platform: ruby
6
+ authors:
7
+ - David Celis
8
+ - Shairon Toledo
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2022-07-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rspec
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: webmock
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: vcr
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: coveralls
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ description: Geocodio is a geocoding service that aims to fill a void in the community
85
+ by allowing developers to geocode large amounts of addresses without worrying about
86
+ daily limits and high costs.
87
+ email:
88
+ - me@davidcel.is
89
+ - shairon.toledo@gmail.com
90
+ executables: []
91
+ extensions: []
92
+ extra_rdoc_files: []
93
+ files:
94
+ - lib/geocodio.rb
95
+ - lib/geocodio/address.rb
96
+ - lib/geocodio/address_set.rb
97
+ - lib/geocodio/canadian.rb
98
+ - lib/geocodio/canadian/electoral_district_base.rb
99
+ - lib/geocodio/canadian/electoral_districts.rb
100
+ - lib/geocodio/canadian/federal_electoral_district.rb
101
+ - lib/geocodio/canadian/provincial_electoral_district.rb
102
+ - lib/geocodio/client.rb
103
+ - lib/geocodio/client/error.rb
104
+ - lib/geocodio/client/response.rb
105
+ - lib/geocodio/congressional_district.rb
106
+ - lib/geocodio/legislator.rb
107
+ - lib/geocodio/school_district.rb
108
+ - lib/geocodio/state_legislative_district.rb
109
+ - lib/geocodio/timezone.rb
110
+ - lib/geocodio/utils.rb
111
+ - lib/geocodio/version.rb
112
+ - spec/address_set_spec.rb
113
+ - spec/address_spec.rb
114
+ - spec/canadian_spec.rb
115
+ - spec/client_spec.rb
116
+ - spec/congressional_district_spec.rb
117
+ - spec/legislator_spec.rb
118
+ - spec/school_district_spec.rb
119
+ - spec/spec_helper.rb
120
+ - spec/state_legislative_district_spec.rb
121
+ - spec/timezone_spec.rb
122
+ - spec/vcr_cassettes/alaska_geocode_with_fields.yml
123
+ - spec/vcr_cassettes/batch_geocode.yml
124
+ - spec/vcr_cassettes/batch_geocode_with_bad_address.yml
125
+ - spec/vcr_cassettes/batch_geocode_with_fields.yml
126
+ - spec/vcr_cassettes/batch_reverse.yml
127
+ - spec/vcr_cassettes/batch_reverse_with_fields.yml
128
+ - spec/vcr_cassettes/canadian.yml
129
+ - spec/vcr_cassettes/geocode.yml
130
+ - spec/vcr_cassettes/geocode_bad_address.yml
131
+ - spec/vcr_cassettes/geocode_with_fields.yml
132
+ - spec/vcr_cassettes/geocode_with_fields_legacy.yml
133
+ - spec/vcr_cassettes/geocode_with_postdirectional.yml
134
+ - spec/vcr_cassettes/invalid_key.yml
135
+ - spec/vcr_cassettes/parse.yml
136
+ - spec/vcr_cassettes/reverse.yml
137
+ - spec/vcr_cassettes/reverse_with_fields.yml
138
+ - spec/vcr_cassettes/reverse_with_fields_no_house_info.yml
139
+ homepage: https://github.com/shairontoledo/geocodio-ocd
140
+ licenses:
141
+ - MIT
142
+ metadata: {}
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ requirements: []
158
+ rubygems_version: 3.1.2
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: An unofficial Ruby client library for geocod.io API v1.7
162
+ test_files:
163
+ - spec/spec_helper.rb
164
+ - spec/client_spec.rb
165
+ - spec/address_set_spec.rb
166
+ - spec/school_district_spec.rb
167
+ - spec/timezone_spec.rb
168
+ - spec/congressional_district_spec.rb
169
+ - spec/canadian_spec.rb
170
+ - spec/vcr_cassettes/alaska_geocode_with_fields.yml
171
+ - spec/vcr_cassettes/geocode_with_fields_legacy.yml
172
+ - spec/vcr_cassettes/parse.yml
173
+ - spec/vcr_cassettes/geocode_bad_address.yml
174
+ - spec/vcr_cassettes/geocode.yml
175
+ - spec/vcr_cassettes/canadian.yml
176
+ - spec/vcr_cassettes/batch_reverse_with_fields.yml
177
+ - spec/vcr_cassettes/geocode_with_fields.yml
178
+ - spec/vcr_cassettes/geocode_with_postdirectional.yml
179
+ - spec/vcr_cassettes/reverse.yml
180
+ - spec/vcr_cassettes/batch_geocode_with_fields.yml
181
+ - spec/vcr_cassettes/reverse_with_fields.yml
182
+ - spec/vcr_cassettes/batch_reverse.yml
183
+ - spec/vcr_cassettes/reverse_with_fields_no_house_info.yml
184
+ - spec/vcr_cassettes/batch_geocode_with_bad_address.yml
185
+ - spec/vcr_cassettes/invalid_key.yml
186
+ - spec/vcr_cassettes/batch_geocode.yml
187
+ - spec/state_legislative_district_spec.rb
188
+ - spec/legislator_spec.rb
189
+ - spec/address_spec.rb