tzinfo 0.3.41 → 0.3.42
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.
- data/CHANGES +6 -0
- data/lib/tzinfo/definitions/Africa/Bangui.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Bissau.rb +1 -1
- data/lib/tzinfo/definitions/Africa/Blantyre.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Brazzaville.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Bujumbura.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Douala.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Gaborone.rb +1 -11
- data/lib/tzinfo/definitions/Africa/Harare.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Kigali.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Kinshasa.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Libreville.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Luanda.rb +1 -8
- data/lib/tzinfo/definitions/Africa/Lubumbashi.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Lusaka.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Malabo.rb +1 -8
- data/lib/tzinfo/definitions/Africa/Maseru.rb +1 -9
- data/lib/tzinfo/definitions/Africa/Mbabane.rb +1 -6
- data/lib/tzinfo/definitions/Africa/Niamey.rb +1 -10
- data/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +1 -8
- data/lib/tzinfo/definitions/America/Grand_Turk.rb +2 -73
- data/lib/tzinfo/definitions/America/Jamaica.rb +1 -1
- data/lib/tzinfo/definitions/Asia/Dhaka.rb +1 -1
- data/lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb +12 -6
- data/lib/tzinfo/definitions/Asia/Irkutsk.rb +4 -4
- data/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +2 -2
- data/lib/tzinfo/definitions/Asia/Novokuznetsk.rb +2 -2
- data/lib/tzinfo/definitions/Asia/Omsk.rb +2 -2
- data/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +1 -11
- data/lib/tzinfo/definitions/Asia/Samarkand.rb +2 -2
- data/lib/tzinfo/definitions/Asia/Tbilisi.rb +4 -4
- data/lib/tzinfo/definitions/Asia/Vientiane.rb +1 -11
- data/lib/tzinfo/definitions/Asia/Vladivostok.rb +2 -2
- data/lib/tzinfo/definitions/Asia/Yakutsk.rb +2 -2
- data/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +74 -72
- data/lib/tzinfo/definitions/Atlantic/Azores.rb +1 -1
- data/lib/tzinfo/definitions/Atlantic/Madeira.rb +1 -1
- data/lib/tzinfo/definitions/Europe/Lisbon.rb +2 -2
- data/lib/tzinfo/definitions/Europe/Minsk.rb +1 -0
- data/lib/tzinfo/definitions/Europe/Riga.rb +9 -9
- data/lib/tzinfo/definitions/Europe/Samara.rb +2 -2
- data/lib/tzinfo/definitions/Pacific/Bougainville.rb +23 -0
- data/lib/tzinfo/definitions/Pacific/Fiji.rb +72 -72
- data/lib/tzinfo/indexes/countries.rb +3 -2
- data/lib/tzinfo/indexes/timezones.rb +21 -20
- data/lib/tzinfo/tzdataparser.rb +7 -2
- data/tzinfo.gemspec +1 -1
- metadata +5 -4
@@ -35,7 +35,7 @@ module TZInfo
|
|
35
35
|
c.timezone 'Antarctica/Davis', -823, 12, 2339, 30, 'Davis Station, Vestfold Hills'
|
36
36
|
c.timezone 'Antarctica/Casey', -3977, 60, 6631, 60, 'Casey Station, Bailey Peninsula'
|
37
37
|
c.timezone 'Antarctica/Vostok', -392, 5, 1069, 10, 'Vostok Station, Lake Vostok'
|
38
|
-
c.timezone 'Antarctica/DumontDUrville', -200, 3, 8401, 60, 'Dumont-d\'Urville Station,
|
38
|
+
c.timezone 'Antarctica/DumontDUrville', -200, 3, 8401, 60, 'Dumont-d\'Urville Station, Adelie Land'
|
39
39
|
c.timezone 'Antarctica/Syowa', -124211, 1800, 3959, 100, 'Syowa Station, E Ongul I'
|
40
40
|
c.timezone 'Antarctica/Troll', -259241, 3600, 507, 200, 'Troll Station, Queen Maud Land'
|
41
41
|
end
|
@@ -637,7 +637,8 @@ module TZInfo
|
|
637
637
|
c.timezone 'Pacific/Gambier', -347, 15, -2699, 20, 'Gambier Islands'
|
638
638
|
end
|
639
639
|
country 'PG', 'Papua New Guinea' do |c|
|
640
|
-
c.timezone 'Pacific/Port_Moresby', -19, 2, 883, 6
|
640
|
+
c.timezone 'Pacific/Port_Moresby', -19, 2, 883, 6, 'most locations'
|
641
|
+
c.timezone 'Pacific/Bougainville', -373, 60, 4667, 30, 'Bougainville'
|
641
642
|
end
|
642
643
|
country 'PH', 'Philippines' do |c|
|
643
644
|
c.timezone 'Asia/Manila', 175, 12, 121, 1
|
@@ -10,12 +10,12 @@ module TZInfo
|
|
10
10
|
timezone 'Africa/Asmara'
|
11
11
|
linked_timezone 'Africa/Asmera'
|
12
12
|
linked_timezone 'Africa/Bamako'
|
13
|
-
|
13
|
+
linked_timezone 'Africa/Bangui'
|
14
14
|
linked_timezone 'Africa/Banjul'
|
15
15
|
timezone 'Africa/Bissau'
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
linked_timezone 'Africa/Blantyre'
|
17
|
+
linked_timezone 'Africa/Brazzaville'
|
18
|
+
linked_timezone 'Africa/Bujumbura'
|
19
19
|
timezone 'Africa/Cairo'
|
20
20
|
timezone 'Africa/Casablanca'
|
21
21
|
timezone 'Africa/Ceuta'
|
@@ -23,35 +23,35 @@ module TZInfo
|
|
23
23
|
linked_timezone 'Africa/Dakar'
|
24
24
|
timezone 'Africa/Dar_es_Salaam'
|
25
25
|
timezone 'Africa/Djibouti'
|
26
|
-
|
26
|
+
linked_timezone 'Africa/Douala'
|
27
27
|
timezone 'Africa/El_Aaiun'
|
28
28
|
linked_timezone 'Africa/Freetown'
|
29
|
-
|
30
|
-
|
29
|
+
linked_timezone 'Africa/Gaborone'
|
30
|
+
linked_timezone 'Africa/Harare'
|
31
31
|
timezone 'Africa/Johannesburg'
|
32
32
|
linked_timezone 'Africa/Juba'
|
33
33
|
timezone 'Africa/Kampala'
|
34
34
|
timezone 'Africa/Khartoum'
|
35
|
-
|
36
|
-
|
35
|
+
linked_timezone 'Africa/Kigali'
|
36
|
+
linked_timezone 'Africa/Kinshasa'
|
37
37
|
timezone 'Africa/Lagos'
|
38
|
-
|
38
|
+
linked_timezone 'Africa/Libreville'
|
39
39
|
linked_timezone 'Africa/Lome'
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
40
|
+
linked_timezone 'Africa/Luanda'
|
41
|
+
linked_timezone 'Africa/Lubumbashi'
|
42
|
+
linked_timezone 'Africa/Lusaka'
|
43
|
+
linked_timezone 'Africa/Malabo'
|
44
44
|
timezone 'Africa/Maputo'
|
45
|
-
|
46
|
-
|
45
|
+
linked_timezone 'Africa/Maseru'
|
46
|
+
linked_timezone 'Africa/Mbabane'
|
47
47
|
timezone 'Africa/Mogadishu'
|
48
48
|
timezone 'Africa/Monrovia'
|
49
49
|
timezone 'Africa/Nairobi'
|
50
50
|
timezone 'Africa/Ndjamena'
|
51
|
-
|
51
|
+
linked_timezone 'Africa/Niamey'
|
52
52
|
linked_timezone 'Africa/Nouakchott'
|
53
53
|
linked_timezone 'Africa/Ouagadougou'
|
54
|
-
|
54
|
+
linked_timezone 'Africa/Porto-Novo'
|
55
55
|
linked_timezone 'Africa/Sao_Tome'
|
56
56
|
linked_timezone 'Africa/Timbuktu'
|
57
57
|
timezone 'Africa/Tripoli'
|
@@ -295,7 +295,7 @@ module TZInfo
|
|
295
295
|
timezone 'Asia/Novosibirsk'
|
296
296
|
timezone 'Asia/Omsk'
|
297
297
|
timezone 'Asia/Oral'
|
298
|
-
|
298
|
+
linked_timezone 'Asia/Phnom_Penh'
|
299
299
|
timezone 'Asia/Pontianak'
|
300
300
|
timezone 'Asia/Pyongyang'
|
301
301
|
timezone 'Asia/Qatar'
|
@@ -322,7 +322,7 @@ module TZInfo
|
|
322
322
|
linked_timezone 'Asia/Ulan_Bator'
|
323
323
|
timezone 'Asia/Urumqi'
|
324
324
|
timezone 'Asia/Ust-Nera'
|
325
|
-
|
325
|
+
linked_timezone 'Asia/Vientiane'
|
326
326
|
timezone 'Asia/Vladivostok'
|
327
327
|
timezone 'Asia/Yakutsk'
|
328
328
|
timezone 'Asia/Yekaterinburg'
|
@@ -519,6 +519,7 @@ module TZInfo
|
|
519
519
|
timezone 'PST8PDT'
|
520
520
|
timezone 'Pacific/Apia'
|
521
521
|
timezone 'Pacific/Auckland'
|
522
|
+
timezone 'Pacific/Bougainville'
|
522
523
|
timezone 'Pacific/Chatham'
|
523
524
|
timezone 'Pacific/Chuuk'
|
524
525
|
timezone 'Pacific/Easter'
|
data/lib/tzinfo/tzdataparser.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2005-
|
2
|
+
# Copyright (c) 2005-2014 Philip Ross
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -73,9 +73,14 @@ module TZInfo
|
|
73
73
|
# Reads the tzdata source and generates the classes. Takes a long time
|
74
74
|
# to run. Currently outputs debugging information to standard out.
|
75
75
|
def execute
|
76
|
+
# Note that the backzone file is ignored. backzone contains alternative
|
77
|
+
# definitions of certain zones, primarily for pre-1970 data. It is not
|
78
|
+
# recommended for ordinary use and the tzdata Makefile does not
|
79
|
+
# install its entries by default.
|
80
|
+
|
76
81
|
files = Dir.entries(@input_dir).select do |file|
|
77
82
|
file =~ /\A[^\.]+\z/ &&
|
78
|
-
!%w(leapseconds leapseconds.awk leap-seconds.list Makefile README SOURCE).include?(file) &&
|
83
|
+
!%w(backzone checktab.awk leapseconds leapseconds.awk leap-seconds.list CONTRIBUTING Makefile NEWS README SOURCE Theory zoneinfo2tdf.pl).include?(file) &&
|
79
84
|
File.file?(File.join(@input_dir, file))
|
80
85
|
end
|
81
86
|
|
data/tzinfo.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tzinfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 71
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
9
|
+
- 42
|
10
10
|
segments_generated: true
|
11
|
-
version: 0.3.
|
11
|
+
version: 0.3.42
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Philip Ross
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2014-
|
19
|
+
date: 2014-10-22 16:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
@@ -470,6 +470,7 @@ files:
|
|
470
470
|
- lib/tzinfo/definitions/Pacific/Niue.rb
|
471
471
|
- lib/tzinfo/definitions/Pacific/Funafuti.rb
|
472
472
|
- lib/tzinfo/definitions/Pacific/Truk.rb
|
473
|
+
- lib/tzinfo/definitions/Pacific/Bougainville.rb
|
473
474
|
- lib/tzinfo/definitions/Pacific/Chuuk.rb
|
474
475
|
- lib/tzinfo/definitions/Pacific/Ponape.rb
|
475
476
|
- lib/tzinfo/definitions/Navajo.rb
|