timezone 0.99.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.markdown +6 -0
- data/README.markdown +1 -11
- data/Rakefile +3 -1
- data/data/America/Caracas +2 -1
- data/data/Asia/Almaty +51 -48
- data/data/Asia/Anadyr +3 -3
- data/data/Asia/Aqtau +50 -50
- data/data/Asia/Aqtobe +51 -49
- data/data/Asia/Baku +2 -2
- data/data/Asia/Barnaul +3 -3
- data/data/Asia/Chita +3 -3
- data/data/Asia/Irkutsk +3 -3
- data/data/Asia/Kamchatka +3 -3
- data/data/Asia/Khandyga +3 -3
- data/data/Asia/Krasnoyarsk +3 -3
- data/data/Asia/Magadan +5 -4
- data/data/Asia/Novokuznetsk +3 -3
- data/data/Asia/Novosibirsk +3 -3
- data/data/Asia/Omsk +3 -3
- data/data/Asia/Oral +51 -50
- data/data/Asia/Qyzylorda +51 -50
- data/data/Asia/Sakhalin +3 -3
- data/data/Asia/Srednekolymsk +3 -3
- data/data/Asia/Tomsk +68 -0
- data/data/Asia/Ust-Nera +3 -3
- data/data/Asia/Vladivostok +3 -3
- data/data/Asia/Yakutsk +3 -3
- data/data/Asia/Yekaterinburg +3 -3
- data/data/Asia/Yerevan +3 -3
- data/data/Europe/Astrakhan +2 -2
- data/data/Europe/Kaliningrad +3 -3
- data/data/Europe/Kirov +64 -0
- data/data/Europe/Minsk +2 -2
- data/data/Europe/Moscow +3 -3
- data/data/Europe/Samara +3 -3
- data/data/Europe/Ulyanovsk +3 -3
- data/data/Europe/Volgograd +2 -2
- data/data/W-SU +3 -3
- data/lib/timezone/error.rb +0 -4
- data/lib/timezone/lookup/basic.rb +1 -7
- data/lib/timezone/lookup/geonames.rb +7 -6
- data/lib/timezone/lookup/google.rb +2 -1
- data/lib/timezone/net_http_client.rb +1 -10
- data/lib/timezone/version.rb +1 -1
- data/lib/timezone/zone.rb +1 -122
- data/test/http_test_client.rb +1 -2
- data/test/mocks/{api_limit_reached.txt → api_limit_reached.json} +0 -0
- data/test/mocks/invalid_latlong.json +1 -0
- data/test/mocks/invalid_parameter.json +1 -0
- data/test/{basic_lookup_test.rb → timezone/lookup/test_basic.rb} +3 -1
- data/test/timezone/lookup/test_geonames.rb +33 -4
- data/test/timezone/test_zone.rb +211 -3
- data/timezone.gemspec +14 -13
- metadata +22 -26
- data/lib/timezone/active_support.rb +0 -156
- data/lib/timezone/configure.rb +0 -258
- data/test/geonames_lookup_test.rb +0 -56
- data/test/google_lookup_test.rb +0 -81
- data/test/test_lookup_test.rb +0 -41
- data/test/timezone_test.rb +0 -297
data/data/Asia/Khandyga
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:YAKT:0:32400
|
24
24
|
15728400:YAKST:1:32400
|
25
25
|
9676800:YAKT:0:28800
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:YAKT:0:32400
|
27
|
+
15724800:YAKST:1:36000
|
28
|
+
15724800:YAKT:0:32400
|
29
29
|
15724800:YAKST:1:36000
|
30
30
|
15724800:YAKT:0:32400
|
31
31
|
15724800:YAKST:1:36000
|
data/data/Asia/Krasnoyarsk
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:KRAT:0:25200
|
24
24
|
15728400:KRAST:1:25200
|
25
25
|
9676800:KRAT:0:21600
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:KRAT:0:25200
|
27
|
+
15724800:KRAST:1:28800
|
28
|
+
15724800:KRAT:0:25200
|
29
29
|
15724800:KRAST:1:28800
|
30
30
|
15724800:KRAT:0:25200
|
31
31
|
15724800:KRAST:1:28800
|
data/data/Asia/Magadan
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:MAGT:0:39600
|
24
24
|
15728400:MAGST:1:39600
|
25
25
|
9676800:MAGT:0:36000
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:MAGT:0:39600
|
27
|
+
15724800:MAGST:1:43200
|
28
|
+
15724800:MAGT:0:39600
|
29
29
|
15724800:MAGST:1:43200
|
30
30
|
15724800:MAGT:0:39600
|
31
31
|
15724800:MAGST:1:43200
|
@@ -63,4 +63,5 @@
|
|
63
63
|
18748800:MAGST:1:43200
|
64
64
|
12700800:MAGT:0:39600
|
65
65
|
113094000:MAGT:0:43200
|
66
|
-
|
66
|
+
47181600:MAGT:0:36000
|
67
|
+
1:MAGT:0:39600
|
data/data/Asia/Novokuznetsk
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:KRAT:0:25200
|
24
24
|
15728400:KRAST:1:25200
|
25
25
|
9676800:KRAT:0:21600
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:KRAT:0:25200
|
27
|
+
15724800:KRAST:1:28800
|
28
|
+
15724800:KRAT:0:25200
|
29
29
|
15724800:KRAST:1:28800
|
30
30
|
15724800:KRAT:0:25200
|
31
31
|
15724800:KRAST:1:28800
|
data/data/Asia/Novosibirsk
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:NOVT:0:25200
|
24
24
|
15728400:NOVST:1:25200
|
25
25
|
9676800:NOVT:0:21600
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:NOVT:0:25200
|
27
|
+
15724800:NOVST:1:28800
|
28
|
+
15724800:NOVT:0:25200
|
29
29
|
4827600:NOVST:1:28800
|
30
30
|
10900800:NOVST:1:25200
|
31
31
|
15724800:NOVT:0:21600
|
data/data/Asia/Omsk
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:OMST:0:21600
|
24
24
|
15728400:OMSST:1:21600
|
25
25
|
9676800:OMST:0:18000
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:OMST:0:21600
|
27
|
+
15724800:OMSST:1:25200
|
28
|
+
15724800:OMST:0:21600
|
29
29
|
15724800:OMSST:1:25200
|
30
30
|
15724800:OMST:0:21600
|
31
31
|
15724800:OMSST:1:25200
|
data/data/Asia/Oral
CHANGED
@@ -1,51 +1,52 @@
|
|
1
1
|
-1441164325:LMT:0:12324
|
2
|
-
193620324:
|
3
|
-
1602457200:
|
4
|
-
15807600:
|
5
|
-
15724800:
|
6
|
-
15811200:
|
7
|
-
15728400:
|
8
|
-
15807600:
|
9
|
-
15814800:
|
10
|
-
15732000:
|
11
|
-
15724800:
|
12
|
-
15724800:
|
13
|
-
15724800:
|
14
|
-
15724800:
|
15
|
-
15724800:
|
16
|
-
15724800:
|
17
|
-
15724800:
|
18
|
-
15724800:
|
19
|
-
15724800:
|
20
|
-
15728400:
|
21
|
-
15724800:
|
22
|
-
16329600:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
15724800:
|
29
|
-
15724800:
|
30
|
-
15724800:
|
31
|
-
15724800:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
18144000:
|
36
|
-
13305600:
|
37
|
-
18144000:
|
38
|
-
13305600:
|
39
|
-
|
40
|
-
|
41
|
-
18748800:
|
42
|
-
12700800:
|
43
|
-
18748800:
|
44
|
-
|
45
|
-
|
46
|
-
13305600:
|
47
|
-
18144000:
|
48
|
-
13305600:
|
49
|
-
|
50
|
-
|
51
|
-
|
2
|
+
193620324:+04:0:14400
|
3
|
+
1602457200:+05:0:18000
|
4
|
+
15807600:+06:1:21600
|
5
|
+
15724800:+06:0:21600
|
6
|
+
15811200:+06:1:21600
|
7
|
+
15728400:+05:0:18000
|
8
|
+
15807600:+06:1:21600
|
9
|
+
15814800:+05:0:18000
|
10
|
+
15732000:+06:1:21600
|
11
|
+
15724800:+05:0:18000
|
12
|
+
15724800:+06:1:21600
|
13
|
+
15724800:+05:0:18000
|
14
|
+
15724800:+06:1:21600
|
15
|
+
15724800:+05:0:18000
|
16
|
+
15724800:+06:1:21600
|
17
|
+
15724800:+05:0:18000
|
18
|
+
15724800:+06:1:21600
|
19
|
+
15724800:+05:0:18000
|
20
|
+
15728400:+05:1:18000
|
21
|
+
15724800:+04:0:14400
|
22
|
+
16329600:+05:1:18000
|
23
|
+
15724800:+04:0:14400
|
24
|
+
15724800:+05:1:18000
|
25
|
+
9676800:+04:0:14400
|
26
|
+
6044400:+05:0:18000
|
27
|
+
15728400:+05:1:18000
|
28
|
+
15724800:+04:0:14400
|
29
|
+
15724800:+05:1:18000
|
30
|
+
15724800:+04:0:14400
|
31
|
+
15724800:+05:1:18000
|
32
|
+
15724800:+04:0:14400
|
33
|
+
15724800:+05:1:18000
|
34
|
+
16329600:+04:0:14400
|
35
|
+
18144000:+05:1:18000
|
36
|
+
13305600:+04:0:14400
|
37
|
+
18144000:+05:1:18000
|
38
|
+
13305600:+04:0:14400
|
39
|
+
18144000:+05:1:18000
|
40
|
+
13305600:+04:0:14400
|
41
|
+
18748800:+05:1:18000
|
42
|
+
12700800:+04:0:14400
|
43
|
+
18748800:+05:1:18000
|
44
|
+
12700800:+04:0:14400
|
45
|
+
18748800:+05:1:18000
|
46
|
+
13305600:+04:0:14400
|
47
|
+
18144000:+05:1:18000
|
48
|
+
13305600:+04:0:14400
|
49
|
+
18144000:+05:1:18000
|
50
|
+
13305600:+04:0:14400
|
51
|
+
18748800:+05:1:18000
|
52
|
+
336535201:+05:0:18000
|
data/data/Asia/Qyzylorda
CHANGED
@@ -1,51 +1,52 @@
|
|
1
1
|
-1441167713:LMT:0:15712
|
2
|
-
193623712:
|
3
|
-
1602457200:
|
4
|
-
15807600:
|
5
|
-
15724800:
|
6
|
-
15811200:
|
7
|
-
15728400:
|
8
|
-
15807600:
|
9
|
-
15814800:
|
10
|
-
15732000:
|
11
|
-
15724800:
|
12
|
-
15724800:
|
13
|
-
15724800:
|
14
|
-
15724800:
|
15
|
-
15724800:
|
16
|
-
15724800:
|
17
|
-
15724800:
|
18
|
-
15724800:
|
19
|
-
15724800:
|
20
|
-
15724800:
|
21
|
-
15724800:
|
22
|
-
16329600:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
15724800:
|
29
|
-
15724800:
|
30
|
-
15724800:
|
31
|
-
15724800:
|
32
|
-
15724800:
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
2
|
+
193623712:+04:0:14400
|
3
|
+
1602457200:+05:0:18000
|
4
|
+
15807600:+06:1:21600
|
5
|
+
15724800:+06:0:21600
|
6
|
+
15811200:+06:1:21600
|
7
|
+
15728400:+05:0:18000
|
8
|
+
15807600:+06:1:21600
|
9
|
+
15814800:+05:0:18000
|
10
|
+
15732000:+06:1:21600
|
11
|
+
15724800:+05:0:18000
|
12
|
+
15724800:+06:1:21600
|
13
|
+
15724800:+05:0:18000
|
14
|
+
15724800:+06:1:21600
|
15
|
+
15724800:+05:0:18000
|
16
|
+
15724800:+06:1:21600
|
17
|
+
15724800:+05:0:18000
|
18
|
+
15724800:+06:1:21600
|
19
|
+
15724800:+05:0:18000
|
20
|
+
15724800:+06:1:21600
|
21
|
+
15724800:+05:0:18000
|
22
|
+
16329600:+06:1:21600
|
23
|
+
15724800:+05:0:18000
|
24
|
+
15728400:+05:1:18000
|
25
|
+
9673200:+05:0:18000
|
26
|
+
6044400:+06:0:21600
|
27
|
+
15728400:+06:1:21600
|
28
|
+
15724800:+05:0:18000
|
29
|
+
15724800:+06:1:21600
|
30
|
+
15724800:+05:0:18000
|
31
|
+
15724800:+06:1:21600
|
32
|
+
15724800:+05:0:18000
|
33
|
+
15724800:+06:1:21600
|
34
|
+
16329600:+05:0:18000
|
35
|
+
18144000:+06:1:21600
|
36
|
+
13305600:+05:0:18000
|
37
|
+
18144000:+06:1:21600
|
38
|
+
13305600:+05:0:18000
|
39
|
+
18144000:+06:1:21600
|
40
|
+
13305600:+05:0:18000
|
41
|
+
18748800:+06:1:21600
|
42
|
+
12700800:+05:0:18000
|
43
|
+
18748800:+06:1:21600
|
44
|
+
12700800:+05:0:18000
|
45
|
+
18748800:+06:1:21600
|
46
|
+
13305600:+05:0:18000
|
47
|
+
18144000:+06:1:21600
|
48
|
+
13305600:+05:0:18000
|
49
|
+
18144000:+06:1:21600
|
50
|
+
13305600:+05:0:18000
|
51
|
+
18748800:+06:1:21600
|
52
|
+
336538801:+06:0:21600
|
data/data/Asia/Sakhalin
CHANGED
@@ -24,9 +24,9 @@
|
|
24
24
|
15724800:SAKT:0:39600
|
25
25
|
15728400:SAKST:1:39600
|
26
26
|
9676800:SAKT:0:36000
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
6044400:SAKT:0:39600
|
28
|
+
15724800:SAKST:1:43200
|
29
|
+
15724800:SAKT:0:39600
|
30
30
|
15724800:SAKST:1:43200
|
31
31
|
15724800:SAKT:0:39600
|
32
32
|
15724800:SAKST:1:43200
|
data/data/Asia/Srednekolymsk
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:MAGT:0:39600
|
24
24
|
15728400:MAGST:1:39600
|
25
25
|
9676800:MAGT:0:36000
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:MAGT:0:39600
|
27
|
+
15724800:MAGST:1:43200
|
28
|
+
15724800:MAGT:0:39600
|
29
29
|
15724800:MAGST:1:43200
|
30
30
|
15724800:MAGT:0:39600
|
31
31
|
15724800:MAGST:1:43200
|
data/data/Asia/Tomsk
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
-1578807592:LMT:0:20391
|
2
|
+
331256391:+06:0:21600
|
3
|
+
1602457200:+07:0:25200
|
4
|
+
15807600:+08:1:28800
|
5
|
+
15728400:+07:0:25200
|
6
|
+
15807600:+08:1:28800
|
7
|
+
15728400:+07:0:25200
|
8
|
+
15807600:+08:1:28800
|
9
|
+
15814800:+07:0:25200
|
10
|
+
15732000:+08:1:28800
|
11
|
+
15724800:+07:0:25200
|
12
|
+
15724800:+08:1:28800
|
13
|
+
15724800:+07:0:25200
|
14
|
+
15724800:+08:1:28800
|
15
|
+
15724800:+07:0:25200
|
16
|
+
15724800:+08:1:28800
|
17
|
+
15724800:+07:0:25200
|
18
|
+
15724800:+08:1:28800
|
19
|
+
15724800:+07:0:25200
|
20
|
+
15724800:+08:1:28800
|
21
|
+
15724800:+07:0:25200
|
22
|
+
16329600:+08:1:28800
|
23
|
+
15724800:+07:0:25200
|
24
|
+
15728400:+07:1:25200
|
25
|
+
9676800:+06:0:21600
|
26
|
+
6044400:+07:0:25200
|
27
|
+
15724800:+08:1:28800
|
28
|
+
15724800:+07:0:25200
|
29
|
+
15724800:+08:1:28800
|
30
|
+
15724800:+07:0:25200
|
31
|
+
15724800:+08:1:28800
|
32
|
+
15724800:+07:0:25200
|
33
|
+
15724800:+08:1:28800
|
34
|
+
16329600:+07:0:25200
|
35
|
+
18144000:+08:1:28800
|
36
|
+
13305600:+07:0:25200
|
37
|
+
18144000:+08:1:28800
|
38
|
+
13305600:+07:0:25200
|
39
|
+
18144000:+08:1:28800
|
40
|
+
13305600:+07:0:25200
|
41
|
+
18748800:+08:1:28800
|
42
|
+
12700800:+07:0:25200
|
43
|
+
18748800:+08:1:28800
|
44
|
+
12700800:+07:0:25200
|
45
|
+
18748800:+08:1:28800
|
46
|
+
13305600:+07:0:25200
|
47
|
+
2678400:+08:1:28800
|
48
|
+
15469200:+07:1:25200
|
49
|
+
13305600:+06:0:21600
|
50
|
+
18144000:+07:1:25200
|
51
|
+
13305600:+06:0:21600
|
52
|
+
18748800:+07:1:25200
|
53
|
+
12700800:+06:0:21600
|
54
|
+
18748800:+07:1:25200
|
55
|
+
12700800:+06:0:21600
|
56
|
+
18748800:+07:1:25200
|
57
|
+
12700800:+06:0:21600
|
58
|
+
18748800:+07:1:25200
|
59
|
+
13305600:+06:0:21600
|
60
|
+
18144000:+07:1:25200
|
61
|
+
13305600:+06:0:21600
|
62
|
+
18144000:+07:1:25200
|
63
|
+
13305600:+06:0:21600
|
64
|
+
18748800:+07:1:25200
|
65
|
+
12700800:+06:0:21600
|
66
|
+
113094000:+07:0:25200
|
67
|
+
50202000:+06:0:21600
|
68
|
+
1:+07:0:25200
|
data/data/Asia/Ust-Nera
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:MAGT:0:39600
|
24
24
|
15728400:MAGST:1:39600
|
25
25
|
9676800:MAGT:0:36000
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:MAGT:0:39600
|
27
|
+
15724800:MAGST:1:43200
|
28
|
+
15724800:MAGT:0:39600
|
29
29
|
15724800:MAGST:1:43200
|
30
30
|
15724800:MAGT:0:39600
|
31
31
|
15724800:MAGST:1:43200
|
data/data/Asia/Vladivostok
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:VLAT:0:36000
|
24
24
|
15728400:VLAST:1:36000
|
25
25
|
9676800:VLAT:0:32400
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:VLAT:0:36000
|
27
|
+
15724800:VLAST:1:39600
|
28
|
+
15724800:VLAT:0:36000
|
29
29
|
15724800:VLAST:1:39600
|
30
30
|
15724800:VLAT:0:36000
|
31
31
|
15724800:VLAST:1:39600
|
data/data/Asia/Yakutsk
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:YAKT:0:32400
|
24
24
|
15728400:YAKST:1:32400
|
25
25
|
9676800:YAKT:0:28800
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
6044400:YAKT:0:32400
|
27
|
+
15724800:YAKST:1:36000
|
28
|
+
15724800:YAKT:0:32400
|
29
29
|
15724800:YAKST:1:36000
|
30
30
|
15724800:YAKT:0:32400
|
31
31
|
15724800:YAKST:1:36000
|
data/data/Asia/Yekaterinburg
CHANGED
@@ -24,9 +24,9 @@
|
|
24
24
|
15724800:SVET:0:18000
|
25
25
|
15728400:SVEST:1:18000
|
26
26
|
9676800:SVET:0:14400
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
6044400:YEKT:0:18000
|
28
|
+
15724800:YEKST:1:21600
|
29
|
+
15724800:YEKT:0:18000
|
30
30
|
15724800:YEKST:1:21600
|
31
31
|
15724800:YEKT:0:18000
|
32
32
|
15724800:YEKST:1:21600
|
data/data/Asia/Yerevan
CHANGED
@@ -23,9 +23,9 @@
|
|
23
23
|
15724800:YERT:0:14400
|
24
24
|
15199200:YERST:1:14400
|
25
25
|
529200:AMST:1:14400
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
15724800:AMT:0:10800
|
27
|
+
15724800:AMST:1:14400
|
28
|
+
15724800:AMT:0:10800
|
29
29
|
15724800:AMST:1:14400
|
30
30
|
15724800:AMT:0:10800
|
31
31
|
15724800:AMST:1:14400
|