geofips 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{locations.csv → data/locations.csv} +0 -0
- data/lib/geofips.rb +1 -1
- data/lib/geofips/version.rb +1 -1
- metadata +4 -4
File without changes
|
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('lib/locations.csv', { headers: true, header_converters: :symbol })
|
16
|
+
location_rows = CSV.read('lib/data/locations.csv', { 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.4
|
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: &70278231687340 !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: *70278231687340
|
25
25
|
description: Get latitude and longitude coordinates and bounds from FIPS location
|
26
26
|
codes
|
27
27
|
email:
|
@@ -34,9 +34,9 @@ files:
|
|
34
34
|
- Gemfile
|
35
35
|
- Rakefile
|
36
36
|
- geofips.gemspec
|
37
|
+
- lib/data/locations.csv
|
37
38
|
- lib/geofips.rb
|
38
39
|
- lib/geofips/version.rb
|
39
|
-
- lib/locations.csv
|
40
40
|
- spec/geofips_spec.rb
|
41
41
|
homepage: ''
|
42
42
|
licenses: []
|