tzinfo 1.0.1 → 1.1.0

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.

Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.yardopts +6 -0
  5. data/{CHANGES → CHANGES.md} +121 -50
  6. data/{README → README.md} +48 -34
  7. data/Rakefile +45 -22
  8. data/lib/tzinfo.rb +7 -2
  9. data/lib/tzinfo/country.rb +23 -1
  10. data/lib/tzinfo/country_index_definition.rb +6 -1
  11. data/lib/tzinfo/country_timezone.rb +9 -1
  12. data/lib/tzinfo/data_source.rb +26 -5
  13. data/lib/tzinfo/data_timezone.rb +30 -2
  14. data/lib/tzinfo/data_timezone_info.rb +26 -0
  15. data/lib/tzinfo/info_timezone.rb +3 -1
  16. data/lib/tzinfo/linked_timezone.rb +30 -1
  17. data/lib/tzinfo/offset_rationals.rb +5 -3
  18. data/lib/tzinfo/ruby_core_support.rb +2 -0
  19. data/lib/tzinfo/ruby_country_info.rb +14 -0
  20. data/lib/tzinfo/ruby_data_source.rb +5 -0
  21. data/lib/tzinfo/time_or_datetime.rb +16 -1
  22. data/lib/tzinfo/timezone.rb +107 -5
  23. data/lib/tzinfo/timezone_definition.rb +5 -1
  24. data/lib/tzinfo/timezone_index_definition.rb +7 -1
  25. data/lib/tzinfo/{timezone_offset_info.rb → timezone_offset.rb} +12 -10
  26. data/lib/tzinfo/timezone_period.rb +19 -15
  27. data/lib/tzinfo/timezone_proxy.rb +5 -1
  28. data/lib/tzinfo/timezone_transition.rb +136 -0
  29. data/lib/tzinfo/{timezone_transition_info.rb → timezone_transition_definition.rb} +21 -57
  30. data/lib/tzinfo/transition_data_timezone_info.rb +81 -8
  31. data/lib/tzinfo/zoneinfo_country_info.rb +7 -0
  32. data/lib/tzinfo/zoneinfo_data_source.rb +104 -57
  33. data/lib/tzinfo/zoneinfo_timezone_info.rb +18 -10
  34. data/test/tc_country.rb +39 -1
  35. data/test/tc_data_timezone.rb +28 -5
  36. data/test/tc_linked_timezone.rb +24 -3
  37. data/test/tc_ruby_data_source.rb +22 -2
  38. data/test/tc_time_or_datetime.rb +3 -3
  39. data/test/tc_timezone.rb +364 -117
  40. data/test/tc_timezone_london.rb +25 -0
  41. data/test/tc_timezone_melbourne.rb +24 -0
  42. data/test/tc_timezone_new_york.rb +24 -0
  43. data/test/{tc_timezone_offset_info.rb → tc_timezone_offset.rb} +27 -27
  44. data/test/tc_timezone_period.rb +113 -90
  45. data/test/tc_timezone_transition.rb +374 -0
  46. data/test/tc_timezone_transition_definition.rb +306 -0
  47. data/test/tc_transition_data_timezone_info.rb +143 -43
  48. data/test/tc_zoneinfo_data_source.rb +69 -5
  49. data/test/tc_zoneinfo_timezone_info.rb +63 -20
  50. data/test/test_utils.rb +27 -7
  51. data/tzinfo.gemspec +21 -0
  52. metadata +61 -38
  53. metadata.gz.sig +3 -0
  54. data/test/tc_timezone_transition_info.rb +0 -471
  55. data/test/zoneinfo/UTC +0 -0
  56. data/test/zoneinfo/localtime +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb01878ee2394f288ea1e03bb90f9e34f9f02679
4
- data.tar.gz: 0648dcb741ecf2022492728bd458ce8de57e5f4a
3
+ metadata.gz: 662b2ec751b579f7b20de43697598ccee07c838f
4
+ data.tar.gz: 43e394c6175dc6e679880591e067e6914b829ee0
5
5
  SHA512:
6
- metadata.gz: 26d0f0927d7b940e982ede4fa16d3b28dc70eb0241f3f882af5a2b51db9d51e108fbcb49493b05fd5e214a6d39efa33b37fc87aed66e470050e4d6b453edfa36
7
- data.tar.gz: 82227c919c4d9b44a89809e0a478feffacc50ed170276123eed483a71558fa496827fb341e3e4a478f692c7f7d99cea18542a4eae67506285b53fd0985d49584
6
+ metadata.gz: 1eb4f019dff8e7c6f919bb17f24623afa1cc2fccdcd6f9a8271f0e9a25e7370eb0b75ceeab74278c7e113c93e75ecd6d3989517a8fe8001aecaf49e670e4ce79
7
+ data.tar.gz: 82f8436074597dc911c84de7e684b6326c95dc05422146f91771c2696bd0d16ce635428bc9fbc3c8cac0a09b128ba20282a72fa12d571cd8c942fed538f6759e
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
Binary file
data/.yardopts ADDED
@@ -0,0 +1,6 @@
1
+ --no-private
2
+ lib/**/*.rb
3
+ -
4
+ CHANGES.md
5
+ LICENSE
6
+ README.md
@@ -1,10 +1,33 @@
1
- == Version 1.0.1 - 22-Jun-2013
1
+ Version 1.1.0 - 25-Sep-2013
2
+ ---------------------------
3
+
4
+ * TZInfo is now thread safe. ThreadSafe::Cache is now used instead of Hash
5
+ to cache Timezone and Country instances returned by Timezone.get and
6
+ Country.get. The tzinfo gem now depends on thread_safe ~> 0.1.
7
+ * Added a transitions_up_to method to Timezone that returns a list of the times
8
+ where the UTC offset of the timezone changes.
9
+ * Added an offsets_up_to method to Timezone that returns the set of offsets
10
+ that have been observed in a defined timezone.
11
+ * Fixed a "can't modify frozen String" error when loading a Timezone from a
12
+ zoneinfo file using an identifier String that is both tainted and frozen.
13
+ Resolves #3.
14
+ * Support TZif3 format zoneinfo files (now produced by zic from tzcode version
15
+ 2013e onwards).
16
+ * Support using YARD to generate documentation (added a .yardopts file).
17
+ * Ignore the +VERSION file included in the zoneinfo directory on Mac OS X.
18
+ * Added a note to the documentation concerning 32-bit zoneinfo files (as
19
+ included with Mac OS X).
20
+
21
+
22
+ Version 1.0.1 - 22-Jun-2013
23
+ ---------------------------
2
24
 
3
25
  * Fix a test case failure when tests are run from a directory that contains a
4
26
  dot in the path (issue #29751).
5
27
 
6
28
 
7
- == Version 1.0.0 - 2-Jun-2013
29
+ Version 1.0.0 - 2-Jun-2013
30
+ --------------------------
8
31
 
9
32
  * Allow TZInfo to be used with different data sources instead of just the
10
33
  built-in Ruby module data files.
@@ -29,13 +52,15 @@
29
52
  use other TimezonePeriod instance methods instead (issue #7655).
30
53
 
31
54
 
32
- == Version 0.3.37 (tzdata v2013b) - 11-Mar-2013
55
+ Version 0.3.37 (tzdata v2013b) - 11-Mar-2013
56
+ --------------------------------------------
33
57
 
34
58
  * Updated to tzdata version 2013b
35
59
  (http://mm.icann.org/pipermail/tz-announce/2013-March/000010.html).
36
60
 
37
61
 
38
- == Version 0.3.36 (tzdata v2013a) - 3-Mar-2013
62
+ Version 0.3.36 (tzdata v2013a) - 3-Mar-2013
63
+ -------------------------------------------
39
64
 
40
65
  * Updated to tzdata version 2013a
41
66
  (http://mm.icann.org/pipermail/tz-announce/2013-March/000009.html).
@@ -45,43 +70,50 @@
45
70
  instead of checking individual properties with 'respond_to?'.
46
71
 
47
72
 
48
- == Version 0.3.35 (tzdata v2012i) - 4-Nov-2012
73
+ Version 0.3.35 (tzdata v2012i) - 4-Nov-2012
74
+ -------------------------------------------
49
75
 
50
76
  * Updated to tzdata version 2012i
51
77
  (http://mm.icann.org/pipermail/tz-announce/2012-November/000007.html).
52
78
 
53
79
 
54
- == Version 0.3.34 (tzdata v2012h) - 27-Oct-2012
80
+ Version 0.3.34 (tzdata v2012h) - 27-Oct-2012
81
+ --------------------------------------------
55
82
 
56
83
  * Updated to tzdata version 2012h
57
84
  (http://mm.icann.org/pipermail/tz-announce/2012-October/000006.html).
58
85
 
59
86
 
60
- == Version 0.3.33 (tzdata v2012c) - 8-Apr-2012
87
+ Version 0.3.33 (tzdata v2012c) - 8-Apr-2012
88
+ -------------------------------------------
61
89
 
62
90
  * Updated to tzdata version 2012c
63
91
  (http://article.gmane.org/gmane.comp.time.tz/4859).
64
92
 
65
93
 
66
- == Version 0.3.32 (tzdata v2012b) - 4-Mar-2012
94
+ Version 0.3.32 (tzdata v2012b) - 4-Mar-2012
95
+ -------------------------------------------
67
96
 
68
97
  * Updated to tzdata version 2012b
69
98
  (http://article.gmane.org/gmane.comp.time.tz/4756).
70
99
 
71
100
 
72
- == Version 0.3.31 (tzdata v2011n) - 6-Nov-2011
101
+ Version 0.3.31 (tzdata v2011n) - 6-Nov-2011
102
+ -------------------------------------------
73
103
 
74
104
  * Updated to tzdata version 2011n
75
105
  (http://article.gmane.org/gmane.comp.time.tz/4434).
76
106
 
77
107
 
78
- == Version 0.3.30 (tzdata v2011k) - 29-Sep-2011
108
+ Version 0.3.30 (tzdata v2011k) - 29-Sep-2011
109
+ --------------------------------------------
79
110
 
80
111
  * Updated to tzdata version 2011k
81
112
  (http://article.gmane.org/gmane.comp.time.tz/4084).
82
113
 
83
114
 
84
- == Version 0.3.29 (tzdata v2011h) - 27-Jun-2011
115
+ Version 0.3.29 (tzdata v2011h) - 27-Jun-2011
116
+ --------------------------------------------
85
117
 
86
118
  * Updated to tzdata version 2011h
87
119
  (http://article.gmane.org/gmane.comp.time.tz/3814).
@@ -90,49 +122,57 @@
90
122
  Thanks to Kurt Werle for the suggestion and patch.
91
123
 
92
124
 
93
- == Version 0.3.28 (tzdata v2011g) - 13-Jun-2011
125
+ Version 0.3.28 (tzdata v2011g) - 13-Jun-2011
126
+ --------------------------------------------=
94
127
 
95
128
  * Add support for Ruby 1.9.3 (trunk revision 31668 and later). Thanks to
96
129
  Aaron Patterson for reporting the problems running on the new version.
97
130
  Closes #29233.
98
131
 
99
132
 
100
- == Version 0.3.27 (tzdata v2011g) - 26-Apr-2011
133
+ Version 0.3.27 (tzdata v2011g) - 26-Apr-2011
134
+ --------------------------------------------
101
135
 
102
136
  * Updated to tzdata version 2011g
103
137
  (http://article.gmane.org/gmane.comp.time.tz/3758).
104
138
 
105
139
 
106
- == Version 0.3.26 (tzdata v2011e) - 2-Apr-2011
140
+ Version 0.3.26 (tzdata v2011e) - 2-Apr-2011
141
+ -------------------------------------------
107
142
 
108
143
  * Updated to tzdata version 2011e
109
144
  (http://article.gmane.org/gmane.comp.time.tz/3707).
110
145
 
111
146
 
112
- == Version 0.3.25 (tzdata v2011d) - 14-Mar-2011
147
+ Version 0.3.25 (tzdata v2011d) - 14-Mar-2011
148
+ --------------------------------------------
113
149
 
114
150
  * Updated to tzdata version 2011d
115
151
  (http://article.gmane.org/gmane.comp.time.tz/3662).
116
152
 
117
153
 
118
- == Version 0.3.24 (tzdata v2010o) - 15-Jan-2011
154
+ Version 0.3.24 (tzdata v2010o) - 15-Jan-2011
155
+ --------------------------------------------
119
156
 
120
157
  * Updated to tzdata version 2010o
121
158
  (http://article.gmane.org/gmane.comp.time.tz/3473).
122
159
 
123
160
 
124
- == Version 0.3.23 (tzdata v2010l) - 19-Aug-2010
161
+ Version 0.3.23 (tzdata v2010l) - 19-Aug-2010
162
+ --------------------------------------------
125
163
 
126
164
  * Updated to tzdata version 2010l
127
165
  (http://article.gmane.org/gmane.comp.time.tz/3354).
128
166
 
129
167
 
130
- == Version 0.3.22 (tzdata v2010j) - 29-May-2010
168
+ Version 0.3.22 (tzdata v2010j) - 29-May-2010
169
+ --------------------------------------------
131
170
 
132
171
  * Corrected file permissions issue with 0.3.21 release.
133
172
 
134
173
 
135
- == Version 0.3.21 (tzdata v2010j) - 28-May-2010
174
+ Version 0.3.21 (tzdata v2010j) - 28-May-2010
175
+ --------------------------------------------
136
176
 
137
177
  * Updated to tzdata version 2010j
138
178
  (http://article.gmane.org/gmane.comp.time.tz/3225).
@@ -149,31 +189,36 @@
149
189
  require 'tzinfo' instead.
150
190
 
151
191
 
152
- == Version 0.3.20 (tzdata v2010i) - 19-Apr-2010
192
+ Version 0.3.20 (tzdata v2010i) - 19-Apr-2010
193
+ --------------------------------------------
153
194
 
154
195
  * Updated to tzdata version 2010i
155
196
  (http://article.gmane.org/gmane.comp.time.tz/3202).
156
197
 
157
198
 
158
- == Version 0.3.19 (tzdata v2010h) - 5-Apr-2010
199
+ Version 0.3.19 (tzdata v2010h) - 5-Apr-2010
200
+ -------------------------------------------
159
201
 
160
202
  * Updated to tzdata version 2010h
161
203
  (http://article.gmane.org/gmane.comp.time.tz/3188).
162
204
 
163
205
 
164
- == Version 0.3.18 (tzdata v2010g) - 29-Mar-2010
206
+ Version 0.3.18 (tzdata v2010g) - 29-Mar-2010
207
+ --------------------------------------------
165
208
 
166
209
  * Updated to tzdata version 2010g
167
210
  (http://article.gmane.org/gmane.comp.time.tz/3172).
168
211
 
169
212
 
170
- == Version 0.3.17 (tzdata v2010e) - 8-Mar-2010
213
+ Version 0.3.17 (tzdata v2010e) - 8-Mar-2010
214
+ -------------------------------------------
171
215
 
172
216
  * Updated to tzdata version 2010e
173
217
  (http://article.gmane.org/gmane.comp.time.tz/3128).
174
218
 
175
219
 
176
- == Version 0.3.16 (tzdata v2009u) - 5-Jan-2010
220
+ Version 0.3.16 (tzdata v2009u) - 5-Jan-2010
221
+ -------------------------------------------
177
222
 
178
223
  * Support the use of '-' to denote '0' as an offset in the tz data files.
179
224
  Used for the first time in the SAVE field in tzdata v2009u.
@@ -181,7 +226,8 @@
181
226
  (http://article.gmane.org/gmane.comp.time.tz/3053).
182
227
 
183
228
 
184
- == Version 0.3.15 (tzdata v2009p) - 26-Oct-2009
229
+ Version 0.3.15 (tzdata v2009p) - 26-Oct-2009
230
+ --------------------------------------------
185
231
 
186
232
  * Updated to tzdata version 2009p
187
233
  (http://article.gmane.org/gmane.comp.time.tz/2953).
@@ -189,7 +235,8 @@
189
235
  * List test files in test_files instead of files in the gem spec.
190
236
 
191
237
 
192
- == Version 0.3.14 (tzdata v2009l) - 19-Aug-2009
238
+ Version 0.3.14 (tzdata v2009l) - 19-Aug-2009
239
+ --------------------------------------------
193
240
 
194
241
  * Updated to tzdata version 2009l
195
242
  (http://article.gmane.org/gmane.comp.time.tz/2818).
@@ -197,7 +244,8 @@
197
244
  Ruby 1.9.2, which doesn't include it by default any more.
198
245
 
199
246
 
200
- == Version 0.3.13 (tzdata v2009f) - 15-Apr-2009
247
+ Version 0.3.13 (tzdata v2009f) - 15-Apr-2009
248
+ --------------------------------------------
201
249
 
202
250
  * Updated to tzdata version 2009f
203
251
  (http://article.gmane.org/gmane.comp.time.tz/2668).
@@ -206,13 +254,15 @@
206
254
  the suggestion. Closes #25349.
207
255
 
208
256
 
209
- == Version 0.3.12 (tzdata v2008i) - 12-Nov-2008
257
+ Version 0.3.12 (tzdata v2008i) - 12-Nov-2008
258
+ --------------------------------------------
210
259
 
211
260
  * Updated to tzdata version 2008i
212
261
  (http://article.gmane.org/gmane.comp.time.tz/2440).
213
262
 
214
263
 
215
- == Version 0.3.11 (tzdata v2008g) - 7-Oct-2008
264
+ Version 0.3.11 (tzdata v2008g) - 7-Oct-2008
265
+ -------------------------------------------
216
266
 
217
267
  * Updated to tzdata version 2008g
218
268
  (http://article.gmane.org/gmane.comp.time.tz/2335).
@@ -224,13 +274,15 @@
224
274
  deprecated in the Ruby svn trunk. Closes #22308.
225
275
 
226
276
 
227
- == Version 0.3.10 (tzdata v2008f) - 16-Sep-2008
277
+ Version 0.3.10 (tzdata v2008f) - 16-Sep-2008
278
+ --------------------------------------------
228
279
 
229
280
  * Updated to tzdata version 2008f
230
281
  (http://article.gmane.org/gmane.comp.time.tz/2293).
231
282
 
232
283
 
233
- == Version 0.3.9 (tzdata v2008c) - 27-May-2008
284
+ Version 0.3.9 (tzdata v2008c) - 27-May-2008
285
+ -------------------------------------------
234
286
 
235
287
  * Updated to tzdata version 2008c
236
288
  (http://article.gmane.org/gmane.comp.time.tz/2183).
@@ -241,7 +293,8 @@
241
293
  command line options. Thanks to Paul McMahon for the patch. Closes #19719.
242
294
 
243
295
 
244
- == Version 0.3.8 (tzdata v2008b) - 24-Mar-2008
296
+ Version 0.3.8 (tzdata v2008b) - 24-Mar-2008
297
+ -------------------------------------------
245
298
 
246
299
  * Updated to tzdata version 2008b
247
300
  (http://article.gmane.org/gmane.comp.time.tz/2149).
@@ -253,38 +306,44 @@
253
306
  between Ruby 1.8.6 and Ruby 1.9.0.
254
307
 
255
308
 
256
- == Version 0.3.7 (tzdata v2008a) - 10-Mar-2008
309
+ Version 0.3.7 (tzdata v2008a) - 10-Mar-2008
310
+ -------------------------------------------
257
311
 
258
312
  * Updated to tzdata version 2008a
259
313
  (http://article.gmane.org/gmane.comp.time.tz/2071).
260
314
 
261
315
 
262
- == Version 0.3.6 (tzdata v2007k) - 1-Jan-2008
316
+ Version 0.3.6 (tzdata v2007k) - 1-Jan-2008
317
+ ------------------------------------------
263
318
 
264
319
  * Updated to tzdata version 2007k
265
320
  (http://article.gmane.org/gmane.comp.time.tz/2029).
266
321
  * Removed deprecated RubyGems autorequire option.
267
322
 
268
323
 
269
- == Version 0.3.5 (tzdata v2007h) - 1-Oct-2007
324
+ Version 0.3.5 (tzdata v2007h) - 1-Oct-2007
325
+ ------------------------------------------
270
326
 
271
327
  * Updated to tzdata version 2007h
272
328
  (http://article.gmane.org/gmane.comp.time.tz/1878).
273
329
 
274
330
 
275
- == Version 0.3.4 (tzdata v2007g) - 21-Aug-2007
331
+ Version 0.3.4 (tzdata v2007g) - 21-Aug-2007
332
+ -------------------------------------------
276
333
 
277
334
  * Updated to tzdata version 2007g
278
335
  (http://article.gmane.org/gmane.comp.time.tz/1810).
279
336
 
280
337
 
281
- == Version 0.3.3 (tzdata v2006p) - 27-Nov-2006
338
+ Version 0.3.3 (tzdata v2006p) - 27-Nov-2006
339
+ -------------------------------------------
282
340
 
283
341
  * Updated to tzdata version 2006p
284
342
  (http://article.gmane.org/gmane.comp.time.tz/1358).
285
343
 
286
344
 
287
- == Version 0.3.2 (tzdata v2006n) - 11-Oct-2006
345
+ Version 0.3.2 (tzdata v2006n) - 11-Oct-2006
346
+ -------------------------------------------
288
347
 
289
348
  * Updated to tzdata version 2006n
290
349
  (http://article.gmane.org/gmane.comp.time.tz/1288). Note that this release of
@@ -292,7 +351,8 @@
292
351
  separate Serbia (RS) and Montenegro (ME) entries.
293
352
 
294
353
 
295
- == Version 0.3.1 (tzdata v2006j) - 21-Aug-2006
354
+ Version 0.3.1 (tzdata v2006j) - 21-Aug-2006
355
+ -------------------------------------------
296
356
 
297
357
  * Remove colon from case statements to avoid warning in Ruby 1.8.5. #5198.
298
358
  * Use temporary variable to avoid dynamic string warning from rdoc.
@@ -300,7 +360,8 @@
300
360
  (http://article.gmane.org/gmane.comp.time.tz/1175).
301
361
 
302
362
 
303
- == Version 0.3.0 (tzdata v2006g) - 17-Jul-2006
363
+ Version 0.3.0 (tzdata v2006g) - 17-Jul-2006
364
+ -------------------------------------------
304
365
 
305
366
  * New timezone data format. Timezone data now occupies less space on disk and
306
367
  takes less memory once loaded. #4142, #4144.
@@ -350,7 +411,8 @@
350
411
  descriptions of timezones within countries.
351
412
 
352
413
 
353
- == Version 0.2.2 (tzdata v2006g) - 17-May-2006
414
+ Version 0.2.2 (tzdata v2006g) - 17-May-2006
415
+ -------------------------------------------
354
416
 
355
417
  * Use class-scoped instance variables to store the Timezone identifier and
356
418
  singleton instance. Loading a linked zone no longer causes the parent
@@ -364,7 +426,8 @@
364
426
  (http://article.gmane.org/gmane.comp.time.tz/1008).
365
427
 
366
428
 
367
- == Version 0.2.1 (tzdata v2006d) - 17-Apr-2006
429
+ Version 0.2.1 (tzdata v2006d) - 17-Apr-2006
430
+ -------------------------------------------
368
431
 
369
432
  * Fix a performance issue caused in 0.2.0 with Timezone.local_to_utc.
370
433
  Conversions performed on TimeOrDateTime instances passed to <=> are now
@@ -388,7 +451,8 @@
388
451
  tz.utc_to_local(Time.local(2006, 4, 17, 15, 40, 0))
389
452
 
390
453
 
391
- == Version 0.2.0 (tzdata v2006c) - 3-Apr-2006
454
+ Version 0.2.0 (tzdata v2006c) - 3-Apr-2006
455
+ ------------------------------------------
392
456
 
393
457
  * Use timestamps rather than DateTime objects in zone files for times between
394
458
  1970 and 2037 (the range of Time).
@@ -411,7 +475,8 @@
411
475
  (http://article.gmane.org/gmane.comp.time.tz/920).
412
476
 
413
477
 
414
- == Version 0.1.2 (tzdata v2006a) - 5-Feb-2006
478
+ Version 0.1.2 (tzdata v2006a) - 5-Feb-2006
479
+ ------------------------------------------
415
480
 
416
481
  * Add lib directory to the load path when tzinfo is required. Makes it easier
417
482
  to use tzinfo gem when unpacked to vendor directory in rails.
@@ -426,14 +491,16 @@
426
491
  than a NameError.
427
492
 
428
493
 
429
- == Version 0.1.1 (tzdata v2005q) - 18-Dec-2005
494
+ Version 0.1.1 (tzdata v2005q) - 18-Dec-2005
495
+ -------------------------------------------
430
496
 
431
497
  * Timezones that are defined by a single unbounded period (e.g. UTC) now
432
498
  work again.
433
499
  * Updated to tzdata version 2005q.
434
500
 
435
501
 
436
- == Version 0.1.0 (tzdata v2005n) - 27-Nov-2005
502
+ Version 0.1.0 (tzdata v2005n) - 27-Nov-2005
503
+ -------------------------------------------
437
504
 
438
505
  * period_for_local and local_to_utc now allow resolution of ambiguous
439
506
  times (e.g. when switching from daylight savings to standard time).
@@ -467,7 +534,8 @@
467
534
  * Updated to tzdata version 2005n.
468
535
 
469
536
 
470
- == Version 0.0.4 (tzdata v2005m) - 18-Sep-2005
537
+ Version 0.0.4 (tzdata v2005m) - 18-Sep-2005
538
+ -------------------------------------------
471
539
 
472
540
  * Removed debug output accidentally included in the previous release.
473
541
  * Fixed a bug in the generation of friendly zone identifiers (was inserting
@@ -478,7 +546,8 @@
478
546
  some selected timezones.
479
547
 
480
548
 
481
- == Version 0.0.3 (tzdata v2005m) - 17-Sep-2005
549
+ Version 0.0.3 (tzdata v2005m) - 17-Sep-2005
550
+ -------------------------------------------
482
551
 
483
552
  * Reduced visibility of some methods added in Timezone#setup and Country#setup.
484
553
  * Added name method to Timezone (returns the identifier).
@@ -501,7 +570,8 @@
501
570
  <%= time_zone_select 'user', 'time_zone', TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %>
502
571
 
503
572
 
504
- == Version 0.0.2 (tzdata v2005m) - 13-Sep-2005
573
+ Version 0.0.2 (tzdata v2005m) - 13-Sep-2005
574
+ -------------------------------------------
505
575
 
506
576
  * Country and Timezone data is now loaded into class rather than instance
507
577
  variables. This makes Timezone links more efficient and saves memory if
@@ -519,6 +589,7 @@ article about using TZInfo with Rails
519
589
  (http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails)
520
590
 
521
591
 
522
- == Version 0.0.1 (tzdata v2005m) - 29-Aug-2005
592
+ Version 0.0.1 (tzdata v2005m) - 29-Aug-2005
593
+ -------------------------------------------
523
594
 
524
595
  * First release.