geofips 0.0.4 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/geofips.rb +1 -1
- data/lib/geofips/version.rb +1 -1
- metadata +3 -3
data/lib/geofips.rb
CHANGED
@@ -13,7 +13,7 @@ module Geofips
|
|
13
13
|
@sw_lat = 0.0
|
14
14
|
@sw_lng = 0.0
|
15
15
|
|
16
|
-
location_rows = CSV.read('
|
16
|
+
location_rows = CSV.read(File.expand_path('../data/locations.csv', __FILE__), { headers: true, header_converters: :symbol })
|
17
17
|
location_row = find_by_code(location_rows, code)
|
18
18
|
end
|
19
19
|
|
data/lib/geofips/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geofips
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70107700674200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 2.9.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70107700674200
|
25
25
|
description: Get latitude and longitude coordinates and bounds from FIPS location
|
26
26
|
codes
|
27
27
|
email:
|