zip-codes 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/data/US.yml +5 -5
- data/lib/zip-codes.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd29c93f5a9c7b5812474a514d36bd04f2167f76fb1e5e93802a944c281d5f2
|
4
|
+
data.tar.gz: 392c21b547ba63c9b972fc36330cc17126bc9b5503c64c54b6ec0a207a3648fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2dcc4dfe3c3a52ec10b257696ca5445c920ee01bd81752040e84647bbf5a7e4f550f801263e7f6e7ff0c0703a865b9717742c6cb4cc350f1cc433eb07a1deb2
|
7
|
+
data.tar.gz: 9e9fdf33fcb283371986183b54b91b0a1ba7492f4fdf6a31232258f2c8ff221638df7c12d89d88483e0fee99bfb6bf432026e18c9ba055d01a26f2fb9c3edaf1
|
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
@@ -85022,11 +85022,6 @@
|
|
85022
85022
|
:state_name: Massachusetts
|
85023
85023
|
:city: Newton
|
85024
85024
|
: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
85025
|
'02164':
|
85031
85026
|
:state_code: MA
|
85032
85027
|
:state_name: Massachusetts
|
@@ -171751,6 +171746,11 @@
|
|
171751
171746
|
:state_name: Rhode Island
|
171752
171747
|
:city: Wyoming
|
171753
171748
|
:time_zone: America/New_York
|
171749
|
+
'29486':
|
171750
|
+
:state_code: SC
|
171751
|
+
:state_name: South Carolina
|
171752
|
+
:city: Summerville
|
171753
|
+
:time_zone: America/New_York
|
171754
171754
|
'29620':
|
171755
171755
|
:state_code: SC
|
171756
171756
|
:state_name: South Carolina
|
data/lib/zip-codes.rb
CHANGED
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.
|
4
|
+
version: 0.3.1
|
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-
|
11
|
+
date: 2023-09-07 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.
|
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: []
|