zip-codes 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -0
  3. data/lib/data/US.yml +20 -5
  4. data/lib/zip-codes.rb +1 -1
  5. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1390d52143eacf6202ea38069276b2141e06e646877344c1d5258ad8417db33
4
- data.tar.gz: 80892335aa66f962d30343e8c30baf976832b7e097c1311ecd79c37035c62a0c
3
+ metadata.gz: 79b608ae78efddfad518c37ee7a1e7cda8d493d00cf080071a83bbdde9a7277d
4
+ data.tar.gz: 58193818edfcffa6bdcab674d951db708a43b538a77e83360201340c8cfaf32d
5
5
  SHA512:
6
- metadata.gz: ac6540ecd586e267b632438069fa2fc3d33b853fe7dea0ad259a2ebfb5562a5b412f98d2a69a60feeb62fb34d59cd0049c9db955cfe64cc9135445053ccf22b7
7
- data.tar.gz: 7a406e918789216a1252ba8344c53138c83d722fcc219956a32350283562001637455df00cdaa0c29df6ce92d67e6c576405a64ae458105159fd40d07b52413d
6
+ metadata.gz: b10f9cb0d514c0dbd00f1ace17e647f78387babd2cf0bcd821c01cdbb4736f185fcd2865172a00ab22ebdd8a89927b077a6755acfc31008da5e90a3b4b6c2de0
7
+ data.tar.gz: d669cba4bc4efae454f7b942a19ed753210a065d61541819f1d19589e44a38b86ae25dd35ed60a2b057f78e782d4dc64ba0ae302232c74fd6603c15d433157ea
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Simple gem to get city, state, and time zone for a given zip code. It has a yaml database bundled with it, so you need several mb of memory for the whole hash.
4
4
 
5
+ The gem currently supports only US zip codes. The data origin is https://download.geonames.org/export/zip/
6
+
7
+ The main maintainer is https://github.com/brodyhoskins
8
+
5
9
  ## Installation
6
10
 
7
11
  Add this line to your application's Gemfile:
data/lib/data/US.yml CHANGED
@@ -6956,6 +6956,11 @@
6956
6956
  :state_name: Arkansas
6957
6957
  :city: Bentonville
6958
6958
  :time_zone: America/Chicago
6959
+ '72713':
6960
+ :state_code: AR
6961
+ :state_name: Arkansas
6962
+ :city: Highfill
6963
+ :time_zone: America/Chicago
6959
6964
  '72714':
6960
6965
  :state_code: AR
6961
6966
  :state_name: Arkansas
@@ -85022,11 +85027,6 @@
85022
85027
  :state_name: Massachusetts
85023
85028
  :city: Newton
85024
85029
  :time_zone: America/New_York
85025
- '02162':
85026
- :state_code: MA
85027
- :state_name: Massachusetts
85028
- :city: Newton
85029
- :time_zone: America/New_York
85030
85030
  '02164':
85031
85031
  :state_code: MA
85032
85032
  :state_name: Massachusetts
@@ -171751,6 +171751,11 @@
171751
171751
  :state_name: Rhode Island
171752
171752
  :city: Wyoming
171753
171753
  :time_zone: America/New_York
171754
+ '29486':
171755
+ :state_code: SC
171756
+ :state_name: South Carolina
171757
+ :city: Summerville
171758
+ :time_zone: America/New_York
171754
171759
  '29620':
171755
171760
  :state_code: SC
171756
171761
  :state_name: South Carolina
@@ -182816,6 +182821,11 @@
182816
182821
  :state_name: Texas
182817
182822
  :city: Frisco
182818
182823
  :time_zone: America/Chicago
182824
+ '75036':
182825
+ :state_code: TX
182826
+ :state_name: Texas
182827
+ :city: Frisco
182828
+ :time_zone: America/Chicago
182819
182829
  '75069':
182820
182830
  :state_code: TX
182821
182831
  :state_name: Texas
@@ -194806,6 +194816,11 @@
194806
194816
  :state_name: Utah
194807
194817
  :city: Bluebell
194808
194818
  :time_zone: America/Denver
194819
+ '84009':
194820
+ :state_code: UT
194821
+ :state_name: Utah
194822
+ :city: South Jordan
194823
+ :time_zone: America/Denver
194809
194824
  '84012':
194810
194825
  :state_code: UT
194811
194826
  :state_name: Utah
data/lib/zip-codes.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'yaml'
4
4
 
5
5
  module ZipCodes
6
- VERSION = '0.3.0'
6
+ VERSION = '0.3.2'
7
7
 
8
8
  class << self
9
9
  def identify(code)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zip-codes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Duda
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-07 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -73,7 +73,7 @@ homepage: https://github.com/monterail/zip-codes
73
73
  licenses:
74
74
  - MIT
75
75
  metadata: {}
76
- post_install_message:
76
+ post_install_message:
77
77
  rdoc_options: []
78
78
  require_paths:
79
79
  - lib
@@ -88,8 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.2.22
92
- signing_key:
91
+ rubygems_version: 3.0.3.1
92
+ signing_key:
93
93
  specification_version: 4
94
94
  summary: Gem to identify zip codes inside US
95
95
  test_files: []