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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d688b4dd660b4985b7b46433e8a370bbb43cdbd4653ed23e01c33ed92b7164f
4
- data.tar.gz: 653e4873e80d5569474c6ec1a0410dd95f3d1f077977327642b0bb04c155cec7
3
+ metadata.gz: 93de81621fa80f7041d11978676efb672899f5216b85f56fa4702a277fc0983c
4
+ data.tar.gz: 76f1a99e1c9ba7db0bcd9a994205a686919c444b6ac441d46ecb46e20dbf3caf
5
5
  SHA512:
6
- metadata.gz: 9e96f43129944e46148b6c2f80e89908a886db1169cd338d0bc5b1c2a1c7e4e8ebd925551f7eae630208646d592c121f5cf4b5d1f041b95efa73f3b4b98001b9
7
- data.tar.gz: b03ef85c0736584e2b9fe81315be71f630cb27e8edfb7c5553b3698ddeca218378f6b5cb49df6ded86b074f325f86cc9ef46de8c884866a6c1afd8ced868403f
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"]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module USGeo
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
@@ -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.1
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-15 00:00:00.000000000 Z
11
+ date: 2019-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord