ziptz 1.0.8 → 1.0.9

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
  SHA1:
3
- metadata.gz: 4010ecb9b8446313b5ba10725cac76d3feb809cc
4
- data.tar.gz: 0721ba2f8dbe79dae3f84ad8420bdc19e5f0c9fc
3
+ metadata.gz: 33757136830cfdd6cba7c67f2f831502b42ca4fd
4
+ data.tar.gz: ea6138a91a3ab48561b9ee31d933dec6c4cc95c9
5
5
  SHA512:
6
- metadata.gz: 345a6445ad58b1f2b841a8d6baf6debb9d5161a5c53e51720a3dbcd3fa72591345583036d9c9791ff44ab56894ab306c59d74b8388eee21ab9e97d6e01b41458
7
- data.tar.gz: cbe40388b90fc79b751de6a0d511301d1c58bcbcc2156fd7a0778a62bc0246a3356f1694dcaf990ce802029e85d501965ce998603849e53c3ab3746853d8ca27
6
+ metadata.gz: 46b60483436aaaf9692109b246d5ba5cff5455f0f674cb07a79faaeb7696a575cf67b9b0ddf9201b5dda8ca817a8a78e9c517617263582ce733c88398cc21345
7
+ data.tar.gz: c8b728687d652e6271041c24681d8b0849b1c8d950059b52198bc8739e2c7e2d7bea429665be5fcfc491ec36566a0a26bc62db1f504bae7260a2e2acdafc382b
data/Gemfile.lock CHANGED
@@ -1,7 +1,6 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ziptz (1.0.7)
5
4
 
6
5
  GEM
7
6
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  Get the time zone for any US ZIP code.
9
9
 
10
- <i>ZIP codes are up to date as of <b>November 2015</b>.</i>
10
+ <i>ZIP codes are up to date as of <b>December 2015</b>.</i>
11
11
 
12
12
  ## Installation
13
13
 
@@ -37,14 +37,20 @@ Get all the zip codes in a time zone:
37
37
 
38
38
  ## Supported Time Zones
39
39
 
40
- * "Mountain" GMT -07:00
41
- * "Pacific" GMT -08:00
42
- * "Alaska" GMT -09:00
43
- * "Hawaii-Aleutian Islands" GMT -10:00
44
- * "American Samoa" GMT -11:00
45
- * "Marshall Islands" GMT +12:00
46
- * "Guam" GMT +10:00
47
- * "Palau" GMT +09:00
40
+ * "Atlantic" UTC -04:00
41
+ * "Eastern" UTC -05:00
42
+ * "Central" UTC -06:00
43
+ * "Mountain" UTC -07:00
44
+ * "Pacific" UTC -08:00
45
+ * "Alaska" UTC -09:00
46
+ * "Hawaii-Aleutian Islands" UTC -10:00
47
+ * "American Samoa" UTC -11:00
48
+ * "Marshall Islands" UTC +12:00
49
+ * "Guam" UTC +10:00
50
+ * "Palau" UTC +09:00
51
+ * "Micronesia" UTC +11:00
52
+
53
+ Note that APO/FPO zip codes will not return a known time zone.
48
54
 
49
55
  ## License
50
56
 
data/data/ziptz.data CHANGED
@@ -3234,6 +3234,7 @@
3234
3234
  09112=0
3235
3235
  09114=0
3236
3236
  09123=0
3237
+ 09125=0
3237
3238
  09126=0
3238
3239
  09128=0
3239
3240
  09131=0
@@ -3362,6 +3363,7 @@
3362
3363
  09595=0
3363
3364
  09596=0
3364
3365
  09599=0
3366
+ 09600=0
3365
3367
  09602=0
3366
3368
  09603=0
3367
3369
  09604=0
@@ -3400,6 +3402,7 @@
3400
3402
  09706=0
3401
3403
  09707=0
3402
3404
  09708=0
3405
+ 09709=0
3403
3406
  09710=0
3404
3407
  09712=0
3405
3408
  09713=0
@@ -3494,6 +3497,7 @@
3494
3497
  09846=0
3495
3498
  09847=0
3496
3499
  09848=0
3500
+ 09851=0
3497
3501
  09852=0
3498
3502
  09853=0
3499
3503
  09855=0
data/lib/ziptz/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ZipTZ
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
data/lib/ziptz.rb CHANGED
@@ -2,6 +2,7 @@ require 'yaml'
2
2
 
3
3
  class Ziptz
4
4
  TZ_INFO = {
5
+ '0' => {name: 'APO/FPO (time zone unknown)', offset: 0},
5
6
  '4' => {name: 'Atlantic', offset: -4},
6
7
  '5' => {name: 'Eastern', offset: -5},
7
8
  '6' => {name: 'Central', offset: -6},
@@ -12,7 +13,8 @@ class Ziptz
12
13
  '11' => {name: 'American Samoa', offset: -11},
13
14
  '13' => {name: 'Marshall Islands', offset: 12},
14
15
  '14' => {name: 'Guam', offset: 10},
15
- '15' => {name: 'Palau', offset: 9}
16
+ '15' => {name: 'Palau', offset: 9},
17
+ '16' => {name: 'Micronesia', offset: 11}
16
18
  }
17
19
 
18
20
  def initialize
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ziptz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Morrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-02 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Get timezone info for all 5-digit US zip codes
14
14
  email: keithm@infused.org