ziptz 2.0.6 → 2.0.7
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.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +48 -45
- data/Gemfile.travis +1 -0
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/Rakefile +2 -0
- data/lib/ziptz.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26f5e2c886544fabe22b02a07a67ef079eb9815111242c1ce5c602585b09fc71
|
|
4
|
+
data.tar.gz: '0167685b059a906f4d1bd60d0c6df1c1a728e7cd2001d797394178d5151c4fc1'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c83cc32bbd12fd944b8c8b9abe61ae36e6b023d76f8d312e8958939837741c7362d6d524feef9bfcd20093e35377cfa462a0fa4e4ae906365754918f583eb203
|
|
7
|
+
data.tar.gz: 304fe05995079558bb1ee6959c844c7f90893d1832271d58eddfde2ab8f6ad2157181a221debaaaefb1a24a5338f6699b39f4f85e8de730c12edf14372190429
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ziptz (2.0.
|
|
4
|
+
ziptz (2.0.6)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
activemodel (5.
|
|
10
|
-
activesupport (= 5.
|
|
11
|
-
activerecord (5.
|
|
12
|
-
activemodel (= 5.
|
|
13
|
-
activesupport (= 5.
|
|
14
|
-
arel (
|
|
15
|
-
activesupport (5.
|
|
9
|
+
activemodel (5.2.2)
|
|
10
|
+
activesupport (= 5.2.2)
|
|
11
|
+
activerecord (5.2.2)
|
|
12
|
+
activemodel (= 5.2.2)
|
|
13
|
+
activesupport (= 5.2.2)
|
|
14
|
+
arel (>= 9.0)
|
|
15
|
+
activesupport (5.2.2)
|
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
17
|
-
i18n (
|
|
17
|
+
i18n (>= 0.7, < 2)
|
|
18
18
|
minitest (~> 5.1)
|
|
19
19
|
tzinfo (~> 1.1)
|
|
20
|
-
arel (
|
|
20
|
+
arel (9.0.0)
|
|
21
21
|
ast (2.4.0)
|
|
22
|
-
byebug (
|
|
22
|
+
byebug (10.0.2)
|
|
23
23
|
coderay (1.1.2)
|
|
24
|
-
concurrent-ruby (1.
|
|
24
|
+
concurrent-ruby (1.1.4)
|
|
25
25
|
diff-lcs (1.3)
|
|
26
|
-
ffi (1.
|
|
26
|
+
ffi (1.10.0)
|
|
27
27
|
formatador (0.2.5)
|
|
28
|
-
guard (2.
|
|
28
|
+
guard (2.15.0)
|
|
29
29
|
formatador (>= 0.2.4)
|
|
30
30
|
listen (>= 2.7, < 4.0)
|
|
31
31
|
lumberjack (>= 1.0.12, < 2.0)
|
|
@@ -39,68 +39,71 @@ GEM
|
|
|
39
39
|
guard (~> 2.1)
|
|
40
40
|
guard-compat (~> 1.1)
|
|
41
41
|
rspec (>= 2.99.0, < 4.0)
|
|
42
|
-
i18n (
|
|
42
|
+
i18n (1.5.3)
|
|
43
43
|
concurrent-ruby (~> 1.0)
|
|
44
|
+
jaro_winkler (1.5.2)
|
|
44
45
|
listen (3.1.5)
|
|
45
46
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
46
47
|
rb-inotify (~> 0.9, >= 0.9.7)
|
|
47
48
|
ruby_dep (~> 1.2)
|
|
48
|
-
lumberjack (1.0.
|
|
49
|
-
method_source (0.9.
|
|
49
|
+
lumberjack (1.0.13)
|
|
50
|
+
method_source (0.9.2)
|
|
50
51
|
minitest (5.11.3)
|
|
51
|
-
mysql2 (0.
|
|
52
|
+
mysql2 (0.5.2)
|
|
52
53
|
nenv (0.3.0)
|
|
53
54
|
notiffany (0.1.1)
|
|
54
55
|
nenv (~> 0.1)
|
|
55
56
|
shellany (~> 0.0)
|
|
56
|
-
parallel (1.
|
|
57
|
-
parser (2.
|
|
57
|
+
parallel (1.13.0)
|
|
58
|
+
parser (2.6.0.0)
|
|
58
59
|
ast (~> 2.4.0)
|
|
59
|
-
powerpack (0.1.
|
|
60
|
-
pry (0.
|
|
60
|
+
powerpack (0.1.2)
|
|
61
|
+
pry (0.12.2)
|
|
61
62
|
coderay (~> 1.1.0)
|
|
62
63
|
method_source (~> 0.9.0)
|
|
63
64
|
rainbow (3.0.0)
|
|
64
|
-
rake (12.3.
|
|
65
|
+
rake (12.3.2)
|
|
65
66
|
rb-fsevent (0.10.3)
|
|
66
|
-
rb-inotify (0.
|
|
67
|
-
ffi (
|
|
68
|
-
rspec (3.
|
|
69
|
-
rspec-core (~> 3.
|
|
70
|
-
rspec-expectations (~> 3.
|
|
71
|
-
rspec-mocks (~> 3.
|
|
72
|
-
rspec-core (3.
|
|
73
|
-
rspec-support (~> 3.
|
|
74
|
-
rspec-expectations (3.
|
|
67
|
+
rb-inotify (0.10.0)
|
|
68
|
+
ffi (~> 1.0)
|
|
69
|
+
rspec (3.8.0)
|
|
70
|
+
rspec-core (~> 3.8.0)
|
|
71
|
+
rspec-expectations (~> 3.8.0)
|
|
72
|
+
rspec-mocks (~> 3.8.0)
|
|
73
|
+
rspec-core (3.8.0)
|
|
74
|
+
rspec-support (~> 3.8.0)
|
|
75
|
+
rspec-expectations (3.8.2)
|
|
75
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
76
|
-
rspec-support (~> 3.
|
|
77
|
-
rspec-mocks (3.
|
|
77
|
+
rspec-support (~> 3.8.0)
|
|
78
|
+
rspec-mocks (3.8.0)
|
|
78
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
79
|
-
rspec-support (~> 3.
|
|
80
|
-
rspec-support (3.
|
|
81
|
-
rubocop (0.
|
|
80
|
+
rspec-support (~> 3.8.0)
|
|
81
|
+
rspec-support (3.8.0)
|
|
82
|
+
rubocop (0.63.1)
|
|
83
|
+
jaro_winkler (~> 1.5.1)
|
|
82
84
|
parallel (~> 1.10)
|
|
83
|
-
parser (>= 2.5)
|
|
85
|
+
parser (>= 2.5, != 2.5.1.1)
|
|
84
86
|
powerpack (~> 0.1)
|
|
85
87
|
rainbow (>= 2.2.2, < 4.0)
|
|
86
88
|
ruby-progressbar (~> 1.7)
|
|
87
|
-
unicode-display_width (~> 1.
|
|
88
|
-
rubocop-rspec (1.
|
|
89
|
-
rubocop (>= 0.
|
|
90
|
-
ruby-progressbar (1.
|
|
89
|
+
unicode-display_width (~> 1.4.0)
|
|
90
|
+
rubocop-rspec (1.32.0)
|
|
91
|
+
rubocop (>= 0.60.0)
|
|
92
|
+
ruby-progressbar (1.10.0)
|
|
91
93
|
ruby_dep (1.5.0)
|
|
92
94
|
shellany (0.0.1)
|
|
93
|
-
thor (0.20.
|
|
95
|
+
thor (0.20.3)
|
|
94
96
|
thread_safe (0.3.6)
|
|
95
97
|
tzinfo (1.2.5)
|
|
96
98
|
thread_safe (~> 0.1)
|
|
97
|
-
unicode-display_width (1.
|
|
99
|
+
unicode-display_width (1.4.1)
|
|
98
100
|
|
|
99
101
|
PLATFORMS
|
|
100
102
|
ruby
|
|
101
103
|
|
|
102
104
|
DEPENDENCIES
|
|
103
105
|
activerecord
|
|
106
|
+
bundler
|
|
104
107
|
byebug
|
|
105
108
|
guard
|
|
106
109
|
guard-rspec
|
|
@@ -112,4 +115,4 @@ DEPENDENCIES
|
|
|
112
115
|
ziptz!
|
|
113
116
|
|
|
114
117
|
BUNDLED WITH
|
|
115
|
-
|
|
118
|
+
2.0.1
|
data/Gemfile.travis
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Get time zone and daylight saving time for any US ZIP code.
|
|
8
8
|
|
|
9
|
-
<i>ZIP codes are up to date as of <b>
|
|
9
|
+
<i>ZIP codes are up to date as of <b>February 2019</b>.</i>
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
@@ -74,7 +74,7 @@ Time zone names now reflect standard tz-database names.
|
|
|
74
74
|
|
|
75
75
|
## License
|
|
76
76
|
|
|
77
|
-
Copyright (c) 2015-
|
|
77
|
+
Copyright (c) 2015-2019 Keith Morrison <<keithm@infused.org>>
|
|
78
78
|
|
|
79
79
|
Permission is hereby granted, free of charge, to any person
|
|
80
80
|
obtaining a copy of this software and associated documentation
|
data/Rakefile
CHANGED
|
@@ -38,6 +38,8 @@ task :create_ziptz do
|
|
|
38
38
|
|
|
39
39
|
data = {}
|
|
40
40
|
ZipCode.find_each do |zip|
|
|
41
|
+
next if zip.time_zone.blank? || zip.day_light_saving.blank?
|
|
42
|
+
|
|
41
43
|
data[zip.zip_code] ||= {}
|
|
42
44
|
data[zip.zip_code][:tz] ||= zip.time_zone
|
|
43
45
|
data[zip.zip_code][:dst] ||= zip.day_light_saving
|
data/lib/ziptz.rb
CHANGED
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: 2.0.
|
|
4
|
+
version: 2.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Morrison
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-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
|
|
@@ -51,8 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '0'
|
|
53
53
|
requirements: []
|
|
54
|
-
|
|
55
|
-
rubygems_version: 2.7.7
|
|
54
|
+
rubygems_version: 3.0.2
|
|
56
55
|
signing_key:
|
|
57
56
|
specification_version: 4
|
|
58
57
|
summary: TimeZone info for any 5-digit US zip code
|