us_geo 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/us_geo/county.rb +1 -0
- data/lib/us_geo/version.rb +1 -1
- data/spec/us_geo/county_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93de81621fa80f7041d11978676efb672899f5216b85f56fa4702a277fc0983c
|
4
|
+
data.tar.gz: 76f1a99e1c9ba7db0bcd9a994205a686919c444b6ac441d46ecb46e20dbf3caf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd619224f2e308817b1d13a8f2aa434b3d314bd0066298f060836141b202f0d4b13e1de38511307dd0257081491cd728a21664a23e3c804c9dfe957db10133e9
|
7
|
+
data.tar.gz: 50d7ef836c3d3a545c9f5b1b2e9f5a0a0d5463660f8498ec4ca4c61a8b9dd5081ede44a3ebd85919766e0918ab8c340e1658cf2189eeb9336cddbc1b4dcea165
|
data/lib/us_geo/county.rb
CHANGED
@@ -52,6 +52,7 @@ module USGeo
|
|
52
52
|
record.short_name = row["Short Name"]
|
53
53
|
record.state_code = row["State"]
|
54
54
|
record.cbsa_geoid = row["CBSA"]
|
55
|
+
record.metropolitan_division_geoid = row["Metropolitan Division"]
|
55
56
|
record.dma_code = row["DMA"]
|
56
57
|
record.time_zone_name = row["Time Zone"]
|
57
58
|
record.fips_class_code = row["FIPS Class"]
|
data/lib/us_geo/version.rb
CHANGED
data/spec/us_geo/county_spec.rb
CHANGED
@@ -88,6 +88,7 @@ describe USGeo::County do
|
|
88
88
|
expect(cook.short_name).to eq "Cook"
|
89
89
|
expect(cook.dma_code).to eq "602"
|
90
90
|
expect(cook.cbsa_geoid).to eq "16980"
|
91
|
+
expect(cook.metropolitan_division_geoid).to eq "16984"
|
91
92
|
expect(cook.state_code).to eq "IL"
|
92
93
|
expect(cook.state_fips).to eq "17"
|
93
94
|
expect(cook.county_fips).to eq "031"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: us_geo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Durand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|