tzinfo 1.2.5 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of tzinfo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -3
- data.tar.gz.sig +0 -0
- data/CHANGES.md +86 -48
- data/LICENSE +1 -1
- data/README.md +9 -8
- data/lib/tzinfo.rb +3 -0
- data/lib/tzinfo/annual_rules.rb +51 -0
- data/lib/tzinfo/data_source.rb +1 -1
- data/lib/tzinfo/posix_time_zone_parser.rb +136 -0
- data/lib/tzinfo/ruby_core_support.rb +24 -1
- data/lib/tzinfo/ruby_data_source.rb +24 -20
- data/lib/tzinfo/time_or_datetime.rb +11 -0
- data/lib/tzinfo/timezone.rb +10 -6
- data/lib/tzinfo/transition_rule.rb +325 -0
- data/lib/tzinfo/zoneinfo_data_source.rb +10 -1
- data/lib/tzinfo/zoneinfo_timezone_info.rb +264 -40
- data/test/tc_annual_rules.rb +95 -0
- data/test/tc_country.rb +6 -2
- data/test/tc_posix_time_zone_parser.rb +261 -0
- data/test/tc_ruby_data_source.rb +26 -2
- data/test/tc_time_or_datetime.rb +26 -6
- data/test/tc_timezone.rb +13 -2
- data/test/tc_transition_data_timezone_info.rb +11 -1
- data/test/tc_transition_rule.rb +663 -0
- data/test/tc_zoneinfo_data_source.rb +11 -2
- data/test/tc_zoneinfo_timezone_info.rb +1034 -113
- data/test/test_utils.rb +32 -3
- data/test/ts_all_zoneinfo.rb +3 -1
- data/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +5 -5
- data/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +13 -1
- data/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +13 -1
- data/test/tzinfo-data/tzinfo/data/definitions/EST.rb +1 -1
- data/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +2 -2
- data/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +2 -2
- data/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +1 -1
- data/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +15 -3
- data/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +13 -1
- data/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +13 -1
- data/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +15 -3
- data/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +19 -4
- data/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +1 -1
- data/test/tzinfo-data/tzinfo/data/indexes/countries.rb +197 -184
- data/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +60 -47
- data/test/tzinfo-data/tzinfo/data/version.rb +9 -3
- data/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/test/zoneinfo/America/New_York +0 -0
- data/test/zoneinfo/Australia/Melbourne +0 -0
- data/test/zoneinfo/EST +0 -0
- data/test/zoneinfo/Etc/UTC +0 -0
- data/test/zoneinfo/Europe/Amsterdam +0 -0
- data/test/zoneinfo/Europe/Andorra +0 -0
- data/test/zoneinfo/Europe/London +0 -0
- data/test/zoneinfo/Europe/Paris +0 -0
- data/test/zoneinfo/Europe/Prague +0 -0
- data/test/zoneinfo/Factory +0 -0
- data/test/zoneinfo/iso3166.tab +13 -14
- data/test/zoneinfo/leapseconds +38 -21
- data/test/zoneinfo/posix/Europe/London +0 -0
- data/test/zoneinfo/posixrules +0 -0
- data/test/zoneinfo/right/Europe/London +0 -0
- data/test/zoneinfo/zone.tab +172 -159
- data/test/zoneinfo/zone1970.tab +185 -170
- data/tzinfo.gemspec +2 -2
- metadata +28 -24
- metadata.gz.sig +0 -0
data/tzinfo.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'tzinfo'
|
3
|
-
s.version = '1.2.
|
3
|
+
s.version = '1.2.9'
|
4
4
|
s.summary = 'Daylight savings aware timezone library'
|
5
5
|
s.description = 'TZInfo provides daylight savings aware transformations between times in different time zones.'
|
6
6
|
s.author = 'Philip Ross'
|
7
7
|
s.email = 'phil.ross@gmail.com'
|
8
|
-
s.homepage = '
|
8
|
+
s.homepage = 'https://tzinfo.github.io'
|
9
9
|
s.license = 'MIT'
|
10
10
|
s.files = %w(CHANGES.md LICENSE Rakefile README.md tzinfo.gemspec .yardopts) +
|
11
11
|
Dir['lib/**/*.rb'].delete_if {|f| f.include?('.svn')} +
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tzinfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Ross
|
@@ -10,27 +10,26 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
IYlrSPqJ7q3pK9kchFKrrktRA6yVf+fR
|
13
|
+
MIIDPDCCAiSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAkMSIwIAYDVQQDDBlwaGls
|
14
|
+
LnJvc3MvREM9Z21haWwvREM9Y29tMB4XDTE5MTIyNDE0NTU0N1oXDTM5MTIyNDE0
|
15
|
+
NTU0N1owJDEiMCAGA1UEAwwZcGhpbC5yb3NzL0RDPWdtYWlsL0RDPWNvbTCCASIw
|
16
|
+
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJGcwfqn4ZsmPl0b1Lt9dCzExrE5
|
17
|
+
EeP/CRQjBdGHkF+mSpi69XysxdwLdfg5SPr9LfxthUug4nNFd5fDCiXM8hYe9jQD
|
18
|
+
TmkIQKNBh4fFpGngn9gyy+SumCXi6b5L6d/aMc59NAOM6LJ88TOdH1648dh5rq3C
|
19
|
+
ULq82n3gg4+u0HHGjRPuR/pnCFQCZbANYdX+UBWd0qkOJn/EreNKROmEeHr/xKuh
|
20
|
+
2/GlKFKt9KLcW3hwBB4fHHVYUzRau7D1m9KbEERdg//qNDC4B7fD2BFJuPbM5S7J
|
21
|
+
41VwDAh1O8B/Qpg0f+S83K4Kodw4MiPGsug55UkNtd3mGR/zZJ9WM03DSwkCAwEA
|
22
|
+
AaN5MHcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFA+Z8zvfzBuA
|
23
|
+
esoHIfz7+jxfUOcfMB4GA1UdEQQXMBWBE3BoaWwucm9zc0BnbWFpbC5jb20wHgYD
|
24
|
+
VR0SBBcwFYETcGhpbC5yb3NzQGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEA
|
25
|
+
J80xgZ3gGdQVA8N+8NJANU5HLuZIU9jOaAlziU9ImoTgPiOHKGZC4as1TwT4kBt1
|
26
|
+
Qcnu7YSANYRrxP5tpOHsWPF/MQYgerAFCZS5+PzOTudwZ+7OsMW4/EMHy6aCVHEd
|
27
|
+
c7HzQRC4mSrDRpWxzyBnZ5nX5OAmIkKA8NgeKybT/4Ku6iFPPUQwlyxQaO+Wlxdo
|
28
|
+
FqHwpjRyoiVSpe4RUTNK3d3qesWPYi7Lxn6k6ZZeEdvG6ya33AXktE3jmmF+jPR1
|
29
|
+
J3Zn/kSTjTekiaspyGbczC3PUaeJNxr+yCvR4sk71Xmk/GaKKGOHedJ1uj/LAXrA
|
30
|
+
MR0mpl7b8zCg0PFC1J73uw==
|
32
31
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
32
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
34
33
|
dependencies:
|
35
34
|
- !ruby/object:Gem::Dependency
|
36
35
|
name: thread_safe
|
@@ -62,6 +61,7 @@ files:
|
|
62
61
|
- README.md
|
63
62
|
- Rakefile
|
64
63
|
- lib/tzinfo.rb
|
64
|
+
- lib/tzinfo/annual_rules.rb
|
65
65
|
- lib/tzinfo/country.rb
|
66
66
|
- lib/tzinfo/country_index_definition.rb
|
67
67
|
- lib/tzinfo/country_info.rb
|
@@ -73,6 +73,7 @@ files:
|
|
73
73
|
- lib/tzinfo/linked_timezone.rb
|
74
74
|
- lib/tzinfo/linked_timezone_info.rb
|
75
75
|
- lib/tzinfo/offset_rationals.rb
|
76
|
+
- lib/tzinfo/posix_time_zone_parser.rb
|
76
77
|
- lib/tzinfo/ruby_core_support.rb
|
77
78
|
- lib/tzinfo/ruby_country_info.rb
|
78
79
|
- lib/tzinfo/ruby_data_source.rb
|
@@ -87,9 +88,11 @@ files:
|
|
87
88
|
- lib/tzinfo/timezone_transition.rb
|
88
89
|
- lib/tzinfo/timezone_transition_definition.rb
|
89
90
|
- lib/tzinfo/transition_data_timezone_info.rb
|
91
|
+
- lib/tzinfo/transition_rule.rb
|
90
92
|
- lib/tzinfo/zoneinfo_country_info.rb
|
91
93
|
- lib/tzinfo/zoneinfo_data_source.rb
|
92
94
|
- lib/tzinfo/zoneinfo_timezone_info.rb
|
95
|
+
- test/tc_annual_rules.rb
|
93
96
|
- test/tc_country.rb
|
94
97
|
- test/tc_country_index_definition.rb
|
95
98
|
- test/tc_country_info.rb
|
@@ -101,6 +104,7 @@ files:
|
|
101
104
|
- test/tc_linked_timezone.rb
|
102
105
|
- test/tc_linked_timezone_info.rb
|
103
106
|
- test/tc_offset_rationals.rb
|
107
|
+
- test/tc_posix_time_zone_parser.rb
|
104
108
|
- test/tc_ruby_core_support.rb
|
105
109
|
- test/tc_ruby_country_info.rb
|
106
110
|
- test/tc_ruby_data_source.rb
|
@@ -119,6 +123,7 @@ files:
|
|
119
123
|
- test/tc_timezone_transition_definition.rb
|
120
124
|
- test/tc_timezone_utc.rb
|
121
125
|
- test/tc_transition_data_timezone_info.rb
|
126
|
+
- test/tc_transition_rule.rb
|
122
127
|
- test/tc_zoneinfo_country_info.rb
|
123
128
|
- test/tc_zoneinfo_data_source.rb
|
124
129
|
- test/tc_zoneinfo_timezone_info.rb
|
@@ -162,7 +167,7 @@ files:
|
|
162
167
|
- test/zoneinfo/zone.tab
|
163
168
|
- test/zoneinfo/zone1970.tab
|
164
169
|
- tzinfo.gemspec
|
165
|
-
homepage:
|
170
|
+
homepage: https://tzinfo.github.io
|
166
171
|
licenses:
|
167
172
|
- MIT
|
168
173
|
metadata: {}
|
@@ -185,8 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
190
|
- !ruby/object:Gem::Version
|
186
191
|
version: '0'
|
187
192
|
requirements: []
|
188
|
-
|
189
|
-
rubygems_version: 2.7.4
|
193
|
+
rubygems_version: 3.1.4
|
190
194
|
signing_key:
|
191
195
|
specification_version: 4
|
192
196
|
summary: Daylight savings aware timezone library
|
metadata.gz.sig
CHANGED
Binary file
|