tzinfo 1.2.2 → 1.2.3
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.
Potentially problematic release.
This version of tzinfo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES.md +122 -1
- data/LICENSE +1 -1
- data/Rakefile +4 -1
- data/lib/tzinfo/timezone.rb +55 -23
- data/lib/tzinfo/timezone_offset.rb +4 -0
- data/lib/tzinfo/timezone_period.rb +18 -1
- data/lib/tzinfo/timezone_proxy.rb +29 -0
- data/lib/tzinfo/zoneinfo_data_source.rb +4 -4
- data/lib/tzinfo/zoneinfo_timezone_info.rb +107 -58
- data/test/tc_country.rb +4 -4
- data/test/tc_ruby_data_source.rb +4 -4
- data/test/tc_timezone.rb +32 -16
- data/test/tc_timezone_proxy.rb +39 -25
- data/test/tc_zoneinfo_data_source.rb +85 -14
- data/test/tc_zoneinfo_timezone_info.rb +331 -17
- data/test/test_utils.rb +3 -1
- data/tzinfo.gemspec +1 -1
- metadata +10 -10
- metadata.gz.sig +0 -0
data/test/test_utils.rb
CHANGED
@@ -28,7 +28,9 @@ module TestUtils
|
|
28
28
|
|
29
29
|
begin
|
30
30
|
FileUtils.ln_s(target, path)
|
31
|
-
rescue NotImplementedError
|
31
|
+
rescue NotImplementedError, Errno::EACCES
|
32
|
+
# Symlinks not supported on this platform, or permission denied
|
33
|
+
# (administrative rights are required on Windows). Copy instead.
|
32
34
|
target_path = File.join(TZINFO_TEST_ZONEINFO_DIR, target)
|
33
35
|
FileUtils.cp(target_path, path)
|
34
36
|
end
|
data/tzinfo.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'tzinfo'
|
3
|
-
s.version = '1.2.
|
3
|
+
s.version = '1.2.3'
|
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'
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Ross
|
@@ -12,7 +12,7 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlwaGls
|
14
14
|
LnJvc3MxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
15
|
-
|
15
|
+
bTAeFw0xNjEwMjAxOTMyMDZaFw0xNzEwMjAxOTMyMDZaMEAxEjAQBgNVBAMMCXBo
|
16
16
|
aWwucm9zczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
|
17
17
|
Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkZzB+qfhmyY+XRvU
|
18
18
|
u310LMTGsTkR4/8JFCMF0YeQX6ZKmLr1fKzF3At1+DlI+v0t/G2FS6Dic0V3l8MK
|
@@ -23,14 +23,14 @@ cert_chain:
|
|
23
23
|
TcNLCQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
|
24
24
|
D5nzO9/MG4B6ygch/Pv6PF9Q5x8wHgYDVR0RBBcwFYETcGhpbC5yb3NzQGdtYWls
|
25
25
|
LmNvbTAeBgNVHRIEFzAVgRNwaGlsLnJvc3NAZ21haWwuY29tMA0GCSqGSIb3DQEB
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
BQUAA4IBAQBM+pMz41DnLx/Edg6cZe7JYFeXXQmVeltwDEefCa4cXxfLTsR6m7vW
|
27
|
+
aBxCCJ62qrfe2dF1d8lp5X94nAmG8FyzSH4Gt8Ul69zOLw31E5XkT2bDcBTzWwcf
|
28
|
+
OmYp+4rBeXWVwf76baYDNrJyFBp42cuj3vQBOQ2mJcwjeBldyUFVxElq93ISpN+2
|
29
|
+
xSO5T8UfFZWHwv9H9cGhQnInu/hpl/vFcz5LM/l1CODRITfEbNUlr6Lb4JLxm58y
|
30
|
+
sB3eS05Xw5lTvyhTICdMJIRk5jPPk3Sv/H1G7urfugkdEqT66FO+pgBnC9o7HvXN
|
31
|
+
E2bpXUbNbgEUfOfgi7vQ9NLDfb+3Brxl
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2017-03-25 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: thread_safe
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.6.11
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Daylight savings aware timezone library
|
metadata.gz.sig
CHANGED
Binary file
|