zip-codes 0.2.0 → 0.2.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 +1 -1
- data/lib/data/US.yml +56 -6
- data/lib/zip-codes.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5b6d8f84a17a2eabf38e0000d5c080e26ae5edc
|
4
|
+
data.tar.gz: c8dd1f409b8dba1b71e426fa7bffbd57ad73ece2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 518fdab86094a7fd16e0fd12541087b1409b37d78d7ef30ba8b08b9cd0cb181c504bb8ef531a04fce74346595bb59ff13d43a2630b2d77ec81c1e5eb063e53a9
|
7
|
+
data.tar.gz: 5f4a8657ea7457f91120f787bdb77c0ddd62b70fd7bf44b37259621ebe4e3f60b1ce4f99d5d21223b6d7722fa6b9527b76456d18550f0230ac43494ca5a6f590
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ZipCodes
|
1
|
+
# ZipCodes [![Gem Version](https://badge.fury.io/rb/zip-codes.png)](http://badge.fury.io/rb/zip-codes)
|
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
|
|
data/lib/data/US.yml
CHANGED
@@ -9781,6 +9781,11 @@
|
|
9781
9781
|
:state_name: Arizona
|
9782
9782
|
:city: Flagstaff
|
9783
9783
|
:time_zone: America/Phoenix
|
9784
|
+
'86005':
|
9785
|
+
:state_code: AZ
|
9786
|
+
:state_name: Arizona
|
9787
|
+
:city: Flagstaff
|
9788
|
+
:time_zone: America/Phoenix
|
9784
9789
|
'86011':
|
9785
9790
|
:state_code: AZ
|
9786
9791
|
:state_name: Arizona
|
@@ -11881,6 +11886,11 @@
|
|
11881
11886
|
:state_name: Arizona
|
11882
11887
|
:city: Picacho
|
11883
11888
|
:time_zone: America/Phoenix
|
11889
|
+
'85242':
|
11890
|
+
:state_code: AZ
|
11891
|
+
:state_name: Arizona
|
11892
|
+
:city: Queen Creek
|
11893
|
+
:time_zone: America/Phoenix
|
11884
11894
|
'85247':
|
11885
11895
|
:state_code: AZ
|
11886
11896
|
:state_name: Arizona
|
@@ -32771,6 +32781,11 @@
|
|
32771
32781
|
:state_name: District of Columbia
|
32772
32782
|
:city: Washington
|
32773
32783
|
:time_zone: America/New_York
|
32784
|
+
'20417':
|
32785
|
+
:state_code: DC
|
32786
|
+
:state_name: District of Columbia
|
32787
|
+
:city: Washington
|
32788
|
+
:time_zone: America/New_York
|
32774
32789
|
'20418':
|
32775
32790
|
:state_code: DC
|
32776
32791
|
:state_name: District of Columbia
|
@@ -38021,6 +38036,11 @@
|
|
38021
38036
|
:state_name: Florida
|
38022
38037
|
:city: Miami
|
38023
38038
|
:time_zone: America/New_York
|
38039
|
+
'33106':
|
38040
|
+
:state_code: FL
|
38041
|
+
:state_name: Florida
|
38042
|
+
:city: Miami
|
38043
|
+
:time_zone: America/New_York
|
38024
38044
|
'33107':
|
38025
38045
|
:state_code: FL
|
38026
38046
|
:state_name: Florida
|
@@ -47190,7 +47210,7 @@
|
|
47190
47210
|
:state_code: HI
|
47191
47211
|
:state_name: Hawaii
|
47192
47212
|
:city: Paauhau
|
47193
|
-
:time_zone:
|
47213
|
+
:time_zone: Pacific/Honolulu
|
47194
47214
|
'96776':
|
47195
47215
|
:state_code: HI
|
47196
47216
|
:state_name: Hawaii
|
@@ -47520,7 +47540,7 @@
|
|
47520
47540
|
:state_code: HI
|
47521
47541
|
:state_name: Hawaii
|
47522
47542
|
:city: Honolulu
|
47523
|
-
:time_zone:
|
47543
|
+
:time_zone: Pacific/Honolulu
|
47524
47544
|
'96846':
|
47525
47545
|
:state_code: HI
|
47526
47546
|
:state_name: Hawaii
|
@@ -47595,7 +47615,7 @@
|
|
47595
47615
|
:state_code: HI
|
47596
47616
|
:state_name: Hawaii
|
47597
47617
|
:city: Wake Island
|
47598
|
-
:time_zone:
|
47618
|
+
:time_zone: Pacific/Honolulu
|
47599
47619
|
'96703':
|
47600
47620
|
:state_code: HI
|
47601
47621
|
:state_name: Hawaii
|
@@ -64946,6 +64966,11 @@
|
|
64946
64966
|
:state_name: Indiana
|
64947
64967
|
:city: Plainfield
|
64948
64968
|
:time_zone: America/Indiana/Indianapolis
|
64969
|
+
'46197':
|
64970
|
+
:state_code: IN
|
64971
|
+
:state_name: Indiana
|
64972
|
+
:city: Plainfield
|
64973
|
+
:time_zone: America/Indiana/Indianapolis
|
64949
64974
|
'46180':
|
64950
64975
|
:state_code: IN
|
64951
64976
|
:state_name: Indiana
|
@@ -65931,6 +65956,11 @@
|
|
65931
65956
|
:state_name: Indiana
|
65932
65957
|
:city: Indianapolis
|
65933
65958
|
:time_zone: America/Indiana/Indianapolis
|
65959
|
+
'46213':
|
65960
|
+
:state_code: IN
|
65961
|
+
:state_name: Indiana
|
65962
|
+
:city: Indianapolis
|
65963
|
+
:time_zone: America/Indiana/Indianapolis
|
65934
65964
|
'46214':
|
65935
65965
|
:state_code: IN
|
65936
65966
|
:state_name: Indiana
|
@@ -72856,6 +72886,11 @@
|
|
72856
72886
|
:state_name: Kentucky
|
72857
72887
|
:city: Shepherdsville
|
72858
72888
|
:time_zone: America/Kentucky/Louisville
|
72889
|
+
'40166':
|
72890
|
+
:state_code: KY
|
72891
|
+
:state_name: Kentucky
|
72892
|
+
:city: Shepherdsville
|
72893
|
+
:time_zone: America/Kentucky/Louisville
|
72859
72894
|
'41009':
|
72860
72895
|
:state_code: KY
|
72861
72896
|
:state_name: Kentucky
|
@@ -75635,17 +75670,22 @@
|
|
75635
75670
|
:state_code: KY
|
75636
75671
|
:state_name: Kentucky
|
75637
75672
|
:city: London
|
75638
|
-
:time_zone:
|
75673
|
+
:time_zone: America/Kentucky/Louisville
|
75639
75674
|
'40747':
|
75640
75675
|
:state_code: KY
|
75641
75676
|
:state_name: Kentucky
|
75642
75677
|
:city: London
|
75643
|
-
:time_zone:
|
75678
|
+
:time_zone: America/Kentucky/Louisville
|
75644
75679
|
'40748':
|
75645
75680
|
:state_code: KY
|
75646
75681
|
:state_name: Kentucky
|
75647
75682
|
:city: London
|
75648
|
-
:time_zone:
|
75683
|
+
:time_zone: America/Kentucky/Louisville
|
75684
|
+
'40750':
|
75685
|
+
:state_code: KY
|
75686
|
+
:state_name: Kentucky
|
75687
|
+
:city: London
|
75688
|
+
:time_zone: America/Kentucky/Louisville
|
75649
75689
|
'40751':
|
75650
75690
|
:state_code: KY
|
75651
75691
|
:state_name: Kentucky
|
@@ -130371,6 +130411,11 @@
|
|
130371
130411
|
:state_name: New Mexico
|
130372
130412
|
:city: Pinehill
|
130373
130413
|
:time_zone: America/Denver
|
130414
|
+
'87654':
|
130415
|
+
:state_code: NM
|
130416
|
+
:state_name: New Mexico
|
130417
|
+
:city: Spaceport City
|
130418
|
+
:time_zone: America/Denver
|
130374
130419
|
'87710':
|
130375
130420
|
:state_code: NM
|
130376
130421
|
:state_name: New Mexico
|
@@ -158696,6 +158741,11 @@
|
|
158696
158741
|
:state_name: Oregon
|
158697
158742
|
:city: Tygh Valley
|
158698
158743
|
:time_zone: America/Los_Angeles
|
158744
|
+
'97003':
|
158745
|
+
:state_code: OR
|
158746
|
+
:state_name: Oregon
|
158747
|
+
:city: Beaverton
|
158748
|
+
:time_zone: America/Los_Angeles
|
158699
158749
|
'97005':
|
158700
158750
|
:state_code: OR
|
158701
158751
|
:state_name: Oregon
|
data/lib/zip-codes.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zip-codes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Duda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Simple gem to get city, state, and time zone for a given zip code
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- Gemfile
|
50
50
|
- Gemfile.lock
|
51
51
|
- LICENSE.txt
|
@@ -64,17 +64,17 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.2.2
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Gem to identify zip codes inside US
|