tzinfo 1.2.6 → 1.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c204b46efe2fc4448fbb719bc143c031e71e5a5eaa21593cee6b04a8904b21f6
4
- data.tar.gz: a70e08a0cb1ed9439ca48899e068e0455d2bf123601ef19db308cd9a39e156ba
3
+ metadata.gz: c5b964ab83943597cb8ce6f141378398fe1bc4fe4b767dd9434f04030332b008
4
+ data.tar.gz: bcdda83a2bfc8e90d0f62a8ddab56f6de246c2c44b64cc00347838f64fc28a87
5
5
  SHA512:
6
- metadata.gz: 15ec7aefd75724e350d8f287d2b9af340af7e5916f6e535dd1d6673bbdeae2615992dd5b33181a354b400bce39fb054fd691d41453b335f5a527847eecfaf2b4
7
- data.tar.gz: 6766a63a1a690944ef8ea3ac1ed9d5018216d1f139a1bbcddf99f00fa293bf56779b71bf2e27c80e0d4bf01cdcba375b3f6b5d046470324713a43e0747e0a9dd
6
+ metadata.gz: 7921a1c86b6307ee7b554edc6de33d2ed07ca8660c804f3ca78099485a72e26bcd23af498a955dfd7dfa5efb0c2f95e6adbdadbd0d60ef492732f1fdfd79f0d9
7
+ data.tar.gz: a0b59904238b08bbebc38a359db873dfadc0a98ef7a2fb6241f91219c642432dc8ae643ff0cf844d16bae0ef61173bac16c5f69863cde60fe504105d4240f48f
@@ -1,2 +1,3 @@
1
- ���Ш{���!1��Q���p ����R|�C wN�#�|Q�/T�.�4�ih���a�fO�@�GhF}�]ֱ�YL@܅��OGu%6h�k�1,gᔈ�^J�VR�h��?T���5��Cj������Md���_�zIo0}�π�-��
2
- �D~Km�~L�5٥_.����|�˪o%\�TВ��=�ҹ�����l�3 ƴ��X]6��y��R��DX�4�7i�VMfv�H��ݦ[L��7Om{Be��m
1
+ \*��81l.��V��O8rx�H�'��D9[4��DrK4jO��HO��p_QK���_�)��w& C���(����OF&Q�b
2
+ ��pL5!��l��ψè���2r4iq&�8�6��MX����Ƭ��K_W�#�!����]\�@,ބ3��,H�?���'̙V6����̰������"͗�¡�#C��|f:��*�X(���a�Í�
3
+  ѿs!�BS���H��3�yD��q�X�g�׌
data.tar.gz.sig CHANGED
Binary file
data/CHANGES.md CHANGED
@@ -1,3 +1,10 @@
1
+ Version 1.2.7 - 2-Apr-2020
2
+ --------------------------
3
+
4
+ * Fixed 'wrong number of arguments' errors when running on JRuby 9.0. #114.
5
+ * Fixed warnings when running on Ruby 2.8. #112.
6
+
7
+
1
8
  Version 1.2.6 - 24-Dec-2019
2
9
  ---------------------------
3
10
 
@@ -202,70 +209,70 @@ Version 0.3.45 (tzdata v2015g) - 3-Oct-2015
202
209
  -------------------------------------------
203
210
 
204
211
  * Updated to tzdata version 2015g
205
- (http://mm.icann.org/pipermail/tz-announce/2015-October/000034.html).
212
+ (https://mm.icann.org/pipermail/tz-announce/2015-October/000034.html).
206
213
 
207
214
 
208
215
  Version 0.3.44 (tzdata v2015d) - 24-Apr-2015
209
216
  --------------------------------------------
210
217
 
211
218
  * Updated to tzdata version 2015d
212
- (http://mm.icann.org/pipermail/tz-announce/2015-April/000031.html).
219
+ (https://mm.icann.org/pipermail/tz-announce/2015-April/000031.html).
213
220
 
214
221
 
215
222
  Version 0.3.43 (tzdata v2015a) - 31-Jan-2015
216
223
  --------------------------------------------
217
224
 
218
225
  * Updated to tzdata version 2015a
219
- (http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html).
226
+ (https://mm.icann.org/pipermail/tz-announce/2015-January/000028.html).
220
227
 
221
228
 
222
229
  Version 0.3.42 (tzdata v2014i) - 23-Oct-2014
223
230
  --------------------------------------------
224
231
 
225
232
  * Updated to tzdata version 2014i
226
- (http://mm.icann.org/pipermail/tz-announce/2014-October/000026.html).
233
+ (https://mm.icann.org/pipermail/tz-announce/2014-October/000026.html).
227
234
 
228
235
 
229
236
  Version 0.3.41 (tzdata v2014f) - 8-Aug-2014
230
237
  -------------------------------------------
231
238
 
232
239
  * Updated to tzdata version 2014f
233
- (http://mm.icann.org/pipermail/tz-announce/2014-August/000023.html).
240
+ (https://mm.icann.org/pipermail/tz-announce/2014-August/000023.html).
234
241
 
235
242
 
236
243
  Version 0.3.40 (tzdata v2014e) - 10-Jul-2014
237
244
  --------------------------------------------
238
245
 
239
246
  * Updated to tzdata version 2014e
240
- (http://mm.icann.org/pipermail/tz-announce/2014-June/000022.html).
247
+ (https://mm.icann.org/pipermail/tz-announce/2014-June/000022.html).
241
248
 
242
249
 
243
250
  Version 0.3.39 (tzdata v2014a) - 9-Mar-2014
244
251
  -------------------------------------------
245
252
 
246
253
  * Updated to tzdata version 2014a
247
- (http://mm.icann.org/pipermail/tz-announce/2014-March/000018.html).
254
+ (https://mm.icann.org/pipermail/tz-announce/2014-March/000018.html).
248
255
 
249
256
 
250
257
  Version 0.3.38 (tzdata v2013g) - 8-Oct-2013
251
258
  -------------------------------------------
252
259
 
253
260
  * Updated to tzdata version 2013g
254
- (http://mm.icann.org/pipermail/tz-announce/2013-October/000015.html).
261
+ (https://mm.icann.org/pipermail/tz-announce/2013-October/000015.html).
255
262
 
256
263
 
257
264
  Version 0.3.37 (tzdata v2013b) - 11-Mar-2013
258
265
  --------------------------------------------
259
266
 
260
267
  * Updated to tzdata version 2013b
261
- (http://mm.icann.org/pipermail/tz-announce/2013-March/000010.html).
268
+ (https://mm.icann.org/pipermail/tz-announce/2013-March/000010.html).
262
269
 
263
270
 
264
271
  Version 0.3.36 (tzdata v2013a) - 3-Mar-2013
265
272
  -------------------------------------------
266
273
 
267
274
  * Updated to tzdata version 2013a
268
- (http://mm.icann.org/pipermail/tz-announce/2013-March/000009.html).
275
+ (https://mm.icann.org/pipermail/tz-announce/2013-March/000009.html).
269
276
  * Fix TimezoneTransitionInfo#eql? incorrectly returning false when running on
270
277
  Ruby 2.0.
271
278
  * Change eql? and == implementations to test the class of the passed in object
@@ -276,49 +283,49 @@ Version 0.3.35 (tzdata v2012i) - 4-Nov-2012
276
283
  -------------------------------------------
277
284
 
278
285
  * Updated to tzdata version 2012i
279
- (http://mm.icann.org/pipermail/tz-announce/2012-November/000007.html).
286
+ (https://mm.icann.org/pipermail/tz-announce/2012-November/000007.html).
280
287
 
281
288
 
282
289
  Version 0.3.34 (tzdata v2012h) - 27-Oct-2012
283
290
  --------------------------------------------
284
291
 
285
292
  * Updated to tzdata version 2012h
286
- (http://mm.icann.org/pipermail/tz-announce/2012-October/000006.html).
293
+ (https://mm.icann.org/pipermail/tz-announce/2012-October/000006.html).
287
294
 
288
295
 
289
296
  Version 0.3.33 (tzdata v2012c) - 8-Apr-2012
290
297
  -------------------------------------------
291
298
 
292
299
  * Updated to tzdata version 2012c
293
- (http://article.gmane.org/gmane.comp.time.tz/4859).
300
+ (https://mm.icann.org/pipermail/tz/2012-April/017627.html).
294
301
 
295
302
 
296
303
  Version 0.3.32 (tzdata v2012b) - 4-Mar-2012
297
304
  -------------------------------------------
298
305
 
299
306
  * Updated to tzdata version 2012b
300
- (http://article.gmane.org/gmane.comp.time.tz/4756).
307
+ (https://mm.icann.org/pipermail/tz/2012-March/017524.html).
301
308
 
302
309
 
303
310
  Version 0.3.31 (tzdata v2011n) - 6-Nov-2011
304
311
  -------------------------------------------
305
312
 
306
313
  * Updated to tzdata version 2011n
307
- (http://article.gmane.org/gmane.comp.time.tz/4434).
314
+ (https://mm.icann.org/pipermail/tz/2011-October/017201.html).
308
315
 
309
316
 
310
317
  Version 0.3.30 (tzdata v2011k) - 29-Sep-2011
311
318
  --------------------------------------------
312
319
 
313
320
  * Updated to tzdata version 2011k
314
- (http://article.gmane.org/gmane.comp.time.tz/4084).
321
+ (https://mm.icann.org/pipermail/tz/2011-September/008889.html).
315
322
 
316
323
 
317
324
  Version 0.3.29 (tzdata v2011h) - 27-Jun-2011
318
325
  --------------------------------------------
319
326
 
320
327
  * Updated to tzdata version 2011h
321
- (http://article.gmane.org/gmane.comp.time.tz/3814).
328
+ (https://mm.icann.org/pipermail/tz/2011-June/008576.html).
322
329
  * Allow the default value of the local_to_utc and period_for_local dst
323
330
  parameter to be specified globally with a Timezone.default_dst attribute.
324
331
  Thanks to Kurt Werle for the suggestion and patch.
@@ -336,35 +343,35 @@ Version 0.3.27 (tzdata v2011g) - 26-Apr-2011
336
343
  --------------------------------------------
337
344
 
338
345
  * Updated to tzdata version 2011g
339
- (http://article.gmane.org/gmane.comp.time.tz/3758).
346
+ (https://mm.icann.org/pipermail/tz/2011-April/016875.html).
340
347
 
341
348
 
342
349
  Version 0.3.26 (tzdata v2011e) - 2-Apr-2011
343
350
  -------------------------------------------
344
351
 
345
352
  * Updated to tzdata version 2011e
346
- (http://article.gmane.org/gmane.comp.time.tz/3707).
353
+ (https://mm.icann.org/pipermail/tz/2011-April/016809.html).
347
354
 
348
355
 
349
356
  Version 0.3.25 (tzdata v2011d) - 14-Mar-2011
350
357
  --------------------------------------------
351
358
 
352
359
  * Updated to tzdata version 2011d
353
- (http://article.gmane.org/gmane.comp.time.tz/3662).
360
+ (https://mm.icann.org/pipermail/tz/2011-March/016746.html).
354
361
 
355
362
 
356
363
  Version 0.3.24 (tzdata v2010o) - 15-Jan-2011
357
364
  --------------------------------------------
358
365
 
359
366
  * Updated to tzdata version 2010o
360
- (http://article.gmane.org/gmane.comp.time.tz/3473).
367
+ (https://mm.icann.org/pipermail/tz/2010-November/016517.html).
361
368
 
362
369
 
363
370
  Version 0.3.23 (tzdata v2010l) - 19-Aug-2010
364
371
  --------------------------------------------
365
372
 
366
373
  * Updated to tzdata version 2010l
367
- (http://article.gmane.org/gmane.comp.time.tz/3354).
374
+ (https://mm.icann.org/pipermail/tz/2010-August/016360.html).
368
375
 
369
376
 
370
377
  Version 0.3.22 (tzdata v2010j) - 29-May-2010
@@ -377,7 +384,7 @@ Version 0.3.21 (tzdata v2010j) - 28-May-2010
377
384
  --------------------------------------------
378
385
 
379
386
  * Updated to tzdata version 2010j
380
- (http://article.gmane.org/gmane.comp.time.tz/3225).
387
+ (https://mm.icann.org/pipermail/tz/2010-May/016211.html).
381
388
  * Change invalid timezone check to exclude characters not used in timezone
382
389
  identifiers and avoid 'character class has duplicated range' warnings with
383
390
  Ruby 1.9.2.
@@ -395,28 +402,28 @@ Version 0.3.20 (tzdata v2010i) - 19-Apr-2010
395
402
  --------------------------------------------
396
403
 
397
404
  * Updated to tzdata version 2010i
398
- (http://article.gmane.org/gmane.comp.time.tz/3202).
405
+ (https://mm.icann.org/pipermail/tz/2010-April/016184.html).
399
406
 
400
407
 
401
408
  Version 0.3.19 (tzdata v2010h) - 5-Apr-2010
402
409
  -------------------------------------------
403
410
 
404
411
  * Updated to tzdata version 2010h
405
- (http://article.gmane.org/gmane.comp.time.tz/3188).
412
+ (https://mm.icann.org/pipermail/tz/2010-April/016161.html).
406
413
 
407
414
 
408
415
  Version 0.3.18 (tzdata v2010g) - 29-Mar-2010
409
416
  --------------------------------------------
410
417
 
411
418
  * Updated to tzdata version 2010g
412
- (http://article.gmane.org/gmane.comp.time.tz/3172).
419
+ (https://mm.icann.org/pipermail/tz/2010-March/016140.html).
413
420
 
414
421
 
415
422
  Version 0.3.17 (tzdata v2010e) - 8-Mar-2010
416
423
  -------------------------------------------
417
424
 
418
425
  * Updated to tzdata version 2010e
419
- (http://article.gmane.org/gmane.comp.time.tz/3128).
426
+ (https://mm.icann.org/pipermail/tz/2010-March/016088.html).
420
427
 
421
428
 
422
429
  Version 0.3.16 (tzdata v2009u) - 5-Jan-2010
@@ -425,14 +432,14 @@ Version 0.3.16 (tzdata v2009u) - 5-Jan-2010
425
432
  * Support the use of '-' to denote '0' as an offset in the tz data files.
426
433
  Used for the first time in the SAVE field in tzdata v2009u.
427
434
  * Updated to tzdata version 2009u
428
- (http://article.gmane.org/gmane.comp.time.tz/3053).
435
+ (https://mm.icann.org/pipermail/tz/2009-December/016001.html).
429
436
 
430
437
 
431
438
  Version 0.3.15 (tzdata v2009p) - 26-Oct-2009
432
439
  --------------------------------------------
433
440
 
434
441
  * Updated to tzdata version 2009p
435
- (http://article.gmane.org/gmane.comp.time.tz/2953).
442
+ (https://mm.icann.org/pipermail/tz/2009-October/015889.html).
436
443
  * Added a description to the gem spec.
437
444
  * List test files in test_files instead of files in the gem spec.
438
445
 
@@ -441,7 +448,7 @@ Version 0.3.14 (tzdata v2009l) - 19-Aug-2009
441
448
  --------------------------------------------
442
449
 
443
450
  * Updated to tzdata version 2009l
444
- (http://article.gmane.org/gmane.comp.time.tz/2818).
451
+ (https://mm.icann.org/pipermail/tz/2009-August/015729.html).
445
452
  * Include current directory in load path to allow running tests on
446
453
  Ruby 1.9.2, which doesn't include it by default any more.
447
454
 
@@ -450,7 +457,7 @@ Version 0.3.13 (tzdata v2009f) - 15-Apr-2009
450
457
  --------------------------------------------
451
458
 
452
459
  * Updated to tzdata version 2009f
453
- (http://article.gmane.org/gmane.comp.time.tz/2668).
460
+ (https://mm.icann.org/pipermail/tz/2009-April/015544.html).
454
461
  * Untaint the timezone module filename after validation to allow use
455
462
  with $SAFE == 1 (e.g. under mod_ruby). Thanks to Dmitry Borodaenko for
456
463
  the suggestion. Closes #25349.
@@ -460,14 +467,14 @@ Version 0.3.12 (tzdata v2008i) - 12-Nov-2008
460
467
  --------------------------------------------
461
468
 
462
469
  * Updated to tzdata version 2008i
463
- (http://article.gmane.org/gmane.comp.time.tz/2440).
470
+ (https://mm.icann.org/pipermail/tz/2008-October/015260.html).
464
471
 
465
472
 
466
473
  Version 0.3.11 (tzdata v2008g) - 7-Oct-2008
467
474
  -------------------------------------------
468
475
 
469
476
  * Updated to tzdata version 2008g
470
- (http://article.gmane.org/gmane.comp.time.tz/2335).
477
+ (https://mm.icann.org/pipermail/tz/2008-October/015139.html).
471
478
  * Support Ruby 1.9.0-5. Rational.new! has now been removed in Ruby 1.9.
472
479
  Only use Rational.new! if it is available (it is preferable in Ruby 1.8
473
480
  for performance reasons). Thanks to Jeremy Kemper and Pratik Naik for
@@ -480,14 +487,14 @@ Version 0.3.10 (tzdata v2008f) - 16-Sep-2008
480
487
  --------------------------------------------
481
488
 
482
489
  * Updated to tzdata version 2008f
483
- (http://article.gmane.org/gmane.comp.time.tz/2293).
490
+ (https://mm.icann.org/pipermail/tz/2008-September/015090.html).
484
491
 
485
492
 
486
493
  Version 0.3.9 (tzdata v2008c) - 27-May-2008
487
494
  -------------------------------------------
488
495
 
489
496
  * Updated to tzdata version 2008c
490
- (http://article.gmane.org/gmane.comp.time.tz/2183).
497
+ (https://mm.icann.org/pipermail/tz/2008-May/014956.html).
491
498
  * Support loading timezone data in the latest trunk versions of Ruby 1.9.
492
499
  Rational.new! is now private, so call it using Rational.send :new! instead.
493
500
  Thanks to Jeremy Kemper and Pratik Naik for spotting this. Closes #19184.
@@ -499,7 +506,7 @@ Version 0.3.8 (tzdata v2008b) - 24-Mar-2008
499
506
  -------------------------------------------
500
507
 
501
508
  * Updated to tzdata version 2008b
502
- (http://article.gmane.org/gmane.comp.time.tz/2149).
509
+ (https://mm.icann.org/pipermail/tz/2008-March/014910.html).
503
510
  * Support loading timezone data in Ruby 1.9.0. Use DateTime.new! if it is
504
511
  available instead of DateTime.new0 when constructing transition times.
505
512
  DateTime.new! was added in Ruby 1.8.6. DateTime.new0 was removed in
@@ -512,14 +519,14 @@ Version 0.3.7 (tzdata v2008a) - 10-Mar-2008
512
519
  -------------------------------------------
513
520
 
514
521
  * Updated to tzdata version 2008a
515
- (http://article.gmane.org/gmane.comp.time.tz/2071).
522
+ (https://mm.icann.org/pipermail/tz/2008-March/014851.html).
516
523
 
517
524
 
518
525
  Version 0.3.6 (tzdata v2007k) - 1-Jan-2008
519
526
  ------------------------------------------
520
527
 
521
528
  * Updated to tzdata version 2007k
522
- (http://article.gmane.org/gmane.comp.time.tz/2029).
529
+ (https://mm.icann.org/pipermail/tz/2007-December/014765.html).
523
530
  * Removed deprecated RubyGems autorequire option.
524
531
 
525
532
 
@@ -527,28 +534,28 @@ Version 0.3.5 (tzdata v2007h) - 1-Oct-2007
527
534
  ------------------------------------------
528
535
 
529
536
  * Updated to tzdata version 2007h
530
- (http://article.gmane.org/gmane.comp.time.tz/1878).
537
+ (https://mm.icann.org/pipermail/tz/2007-October/014585.html).
531
538
 
532
539
 
533
540
  Version 0.3.4 (tzdata v2007g) - 21-Aug-2007
534
541
  -------------------------------------------
535
542
 
536
543
  * Updated to tzdata version 2007g
537
- (http://article.gmane.org/gmane.comp.time.tz/1810).
544
+ (https://mm.icann.org/pipermail/tz/2007-August/014499.html).
538
545
 
539
546
 
540
547
  Version 0.3.3 (tzdata v2006p) - 27-Nov-2006
541
548
  -------------------------------------------
542
549
 
543
550
  * Updated to tzdata version 2006p
544
- (http://article.gmane.org/gmane.comp.time.tz/1358).
551
+ (https://mm.icann.org/pipermail/tz/2006-November/013999.html).
545
552
 
546
553
 
547
554
  Version 0.3.2 (tzdata v2006n) - 11-Oct-2006
548
555
  -------------------------------------------
549
556
 
550
557
  * Updated to tzdata version 2006n
551
- (http://article.gmane.org/gmane.comp.time.tz/1288). Note that this release of
558
+ (https://mm.icann.org/pipermail/tz/2006-October/013911.html). Note that this release of
552
559
  tzdata removes the country Serbia and Montenegro (CS) and replaces it with
553
560
  separate Serbia (RS) and Montenegro (ME) entries.
554
561
 
@@ -559,7 +566,7 @@ Version 0.3.1 (tzdata v2006j) - 21-Aug-2006
559
566
  * Remove colon from case statements to avoid warning in Ruby 1.8.5. #5198.
560
567
  * Use temporary variable to avoid dynamic string warning from rdoc.
561
568
  * Updated to tzdata version 2006j
562
- (http://article.gmane.org/gmane.comp.time.tz/1175).
569
+ (https://mm.icann.org/pipermail/tz/2006-August/013767.html).
563
570
 
564
571
 
565
572
  Version 0.3.0 (tzdata v2006g) - 17-Jul-2006
@@ -625,7 +632,7 @@ Version 0.2.2 (tzdata v2006g) - 17-May-2006
625
632
  zone identifier.
626
633
  * The zdumptestall utility now exits if not supplied with enough parameters.
627
634
  * Updated to tzdata version 2006g
628
- (http://article.gmane.org/gmane.comp.time.tz/1008).
635
+ (https://mm.icann.org/pipermail/tz/2006-May/013590.html).
629
636
 
630
637
 
631
638
  Version 0.2.1 (tzdata v2006d) - 17-Apr-2006
@@ -641,7 +648,7 @@ Version 0.2.1 (tzdata v2006d) - 17-Apr-2006
641
648
  Jamis Buck for reporting this.
642
649
  * Added abbreviation as an alias for TimezonePeriod.zone_identifier.
643
650
  * Updated to tzdata version 2006d
644
- (http://article.gmane.org/gmane.comp.time.tz/936).
651
+ (https://mm.icann.org/pipermail/tz/2006-April/013517.html).
645
652
  * Ignore any offset in DateTimes passed in (as is already done for Times).
646
653
  All of the following now refer to the same UTC time (15:40 on 17 April 2006).
647
654
  Previously, the DateTime in the second line would have been interpreted
@@ -674,7 +681,7 @@ Version 0.2.0 (tzdata v2006c) - 3-Apr-2006
674
681
  * Omit the final transition to DST if there is a prior transition in the last
675
682
  year processed to standard time.
676
683
  * Updated to tzdata version 2006c
677
- (http://article.gmane.org/gmane.comp.time.tz/920).
684
+ (https://mm.icann.org/pipermail/tz/2006-April/013500.html).
678
685
 
679
686
 
680
687
  Version 0.1.2 (tzdata v2006a) - 5-Feb-2006
@@ -683,7 +690,7 @@ Version 0.1.2 (tzdata v2006a) - 5-Feb-2006
683
690
  * Add lib directory to the load path when tzinfo is required. Makes it easier
684
691
  to use tzinfo gem when unpacked to vendor directory in rails.
685
692
  * Updated to tzdata version 2006a
686
- (http://article.gmane.org/gmane.comp.time.tz/738).
693
+ (https://mm.icann.org/pipermail/tz/2006-January/013311.html).
687
694
  * build_tz_classes rake task now handles running svn add and svn delete as new
688
695
  timezones and countries are added and old ones are removed.
689
696
  * Return a better error when attempting to use a Timezone instance that was
@@ -788,7 +795,7 @@ Version 0.0.2 (tzdata v2005m) - 13-Sep-2005
788
795
 
789
796
  Thanks to Scott Barron of Lunchbox Software for the suggestions in his
790
797
  article about using TZInfo with Rails
791
- (http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails)
798
+ (https://web.archive.org/web/20060425190845/http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails)
792
799
 
793
800
 
794
801
  Version 0.0.1 (tzdata v2005m) - 29-Aug-2005
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2005-2019 Philip Ross
1
+ Copyright (c) 2005-2020 Philip Ross
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of
4
4
  this software and associated documentation files (the "Software"), to deal in
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  TZInfo - Ruby Timezone Library
2
2
  ==============================
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/tzinfo.svg)](http://badge.fury.io/rb/tzinfo) [![Build Status](https://travis-ci.org/tzinfo/tzinfo.svg?branch=master)](https://travis-ci.org/tzinfo/tzinfo)
4
+ [![RubyGems](https://img.shields.io/gem/v/tzinfo)](https://rubygems.org/gems/tzinfo) [![Travis CI Build](https://img.shields.io/travis/tzinfo/tzinfo/1.2?logo=travis)](https://travis-ci.org/tzinfo/tzinfo) [![AppVeyor Build](https://img.shields.io/appveyor/build/philr/tzinfo/1.2?logo=appveyor)](https://ci.appveyor.com/project/philr/tzinfo/branch/1.2)
5
5
 
6
- [TZInfo](http://tzinfo.github.io) provides daylight savings aware
6
+ [TZInfo](https://tzinfo.github.io) provides daylight savings aware
7
7
  transformations between times in different timezones.
8
8
 
9
9
 
@@ -13,10 +13,10 @@ Data Sources
13
13
  TZInfo requires a source of timezone data. There are two built-in options:
14
14
 
15
15
  1. The TZInfo::Data library (the tzinfo-data gem). TZInfo::Data contains a set
16
- of Ruby modules that are generated from the [IANA Time Zone Database](http://www.iana.org/time-zones).
16
+ of Ruby modules that are generated from the [IANA Time Zone Database](https://www.iana.org/time-zones).
17
17
  2. A zoneinfo directory. Most Unix-like systems include a zoneinfo directory
18
18
  containing timezone definitions. These are also generated from the
19
- [IANA Time Zone Database](http://www.iana.org/time-zones).
19
+ [IANA Time Zone Database](https://www.iana.org/time-zones).
20
20
 
21
21
  By default, TZInfo::Data will be used. If TZInfo::Data is not available (i.e.
22
22
  if `require 'tzinfo/data'` fails), then TZInfo will search for a zoneinfo
@@ -25,7 +25,7 @@ directory instead (using the search path specified by
25
25
 
26
26
  If no data source can be found, a `TZInfo::DataSourceNotFound` exception will be
27
27
  raised when TZInfo is used. Further information is available
28
- [in the wiki](http://tzinfo.github.io/datasourcenotfound) to help with
28
+ [in the wiki](https://tzinfo.github.io/datasourcenotfound) to help with
29
29
  resolving `TZInfo::DataSourceNotFound` errors.
30
30
 
31
31
  The default data source selection can be overridden using
@@ -130,7 +130,7 @@ thread boundaries.
130
130
  Documentation
131
131
  -------------
132
132
 
133
- API documentation for TZInfo is available on [RubyDoc.info](http://rubydoc.info/gems/tzinfo/frames).
133
+ API documentation for TZInfo is available on [RubyDoc.info](https://rubydoc.info/gems/tzinfo/frames).
134
134
 
135
135
 
136
136
  License
@@ -179,7 +179,7 @@ module TZInfo
179
179
  begin
180
180
  return ZoneinfoDataSource.new
181
181
  rescue ZoneinfoDirectoryNotFound
182
- raise DataSourceNotFound, "No source of timezone data could be found.\nPlease refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error."
182
+ raise DataSourceNotFound, "No source of timezone data could be found.\nPlease refer to https://tzinfo.github.io/datasourcenotfound for help resolving this error."
183
183
  end
184
184
  end
185
185
 
@@ -154,23 +154,16 @@ module TZInfo
154
154
 
155
155
 
156
156
  # Object#untaint is a deprecated no-op in Ruby >= 2.7 and will be removed in
157
- # 3.0. Add a refinement to either silence the warning, or supply the method
157
+ # 3.2. Add a refinement to either silence the warning, or supply the method
158
158
  # if needed.
159
- old_verbose = $VERBOSE
160
- $VERBOSE = false
161
- begin
162
- o = Object.new
163
- if [:taint, :untaint, :tainted?].none? {|m| o.respond_to?(m) } || !o.taint.tainted?
164
- module UntaintExt
165
- refine Object do
166
- def untaint
167
- self
168
- end
159
+ if !Object.new.respond_to?(:untaint) || RUBY_VERSION =~ /\A(\d+)\.(\d+)(?:\.|\z)/ && ($1 == '2' && $2.to_i >= 7 || $1.to_i >= 3)
160
+ module UntaintExt
161
+ refine Object do
162
+ def untaint
163
+ self
169
164
  end
170
165
  end
171
166
  end
172
- ensure
173
- $VERBOSE = old_verbose
174
167
  end
175
168
  end
176
169
  end
@@ -1,5 +1,7 @@
1
1
  module TZInfo
2
- using RubyCoreSupport::UntaintExt if RubyCoreSupport.const_defined?(:UntaintExt)
2
+ # Use send as a workaround for erroneous 'wrong number of arguments' errors
3
+ # with JRuby 9.0.5.0 when calling methods with Java implementations. See #114.
4
+ send(:using, RubyCoreSupport::UntaintExt) if RubyCoreSupport.const_defined?(:UntaintExt)
3
5
 
4
6
  # A DataSource that loads data from the set of Ruby modules included in the
5
7
  # TZInfo::Data library (tzinfo-data gem).
@@ -604,8 +604,8 @@ module TZInfo
604
604
  # Passing the invalid format string through to Time#strftime or
605
605
  # DateTime#strtime would normally result in it being returned in the
606
606
  # result. However, with Ruby 1.8.7 on Windows (as tested with Ruby
607
- # 1.8.7-p374 from http://rubyinstaller.org/downloads/archives), this
608
- # causes Time#strftime to always return an empty string (e.g.
607
+ # 1.8.7-p374 from https://rubyinstaller.org/downloads/archives),
608
+ # this causes Time#strftime to always return an empty string (e.g.
609
609
  # Time.now.strftime('a %::::z b') returns '').
610
610
  #
611
611
  # Escape the percent to force it to be evaluated as a literal.
@@ -1,5 +1,7 @@
1
1
  module TZInfo
2
- using RubyCoreSupport::UntaintExt if RubyCoreSupport.const_defined?(:UntaintExt)
2
+ # Use send as a workaround for erroneous 'wrong number of arguments' errors
3
+ # with JRuby 9.0.5.0 when calling methods with Java implementations. See #114.
4
+ send(:using, RubyCoreSupport::UntaintExt) if RubyCoreSupport.const_defined?(:UntaintExt)
3
5
 
4
6
  # An InvalidZoneinfoFile exception is raised if an attempt is made to load an
5
7
  # invalid zoneinfo file.
@@ -2,7 +2,9 @@ require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
2
2
 
3
3
  include TZInfo
4
4
 
5
- using TaintExt if Module.const_defined?(:TaintExt)
5
+ # Use send as a workaround for erroneous 'wrong number of arguments' errors with
6
+ # JRuby 9.0.5.0 when calling methods with Java implementations. See #114.
7
+ send(:using, TaintExt) if Module.const_defined?(:TaintExt)
6
8
 
7
9
  class TCCountry < Minitest::Test
8
10
  def setup
@@ -2,7 +2,9 @@ require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
2
2
 
3
3
  include TZInfo
4
4
 
5
- using TaintExt if Module.const_defined?(:TaintExt)
5
+ # Use send as a workaround for erroneous 'wrong number of arguments' errors with
6
+ # JRuby 9.0.5.0 when calling methods with Java implementations. See #114.
7
+ send(:using, TaintExt) if Module.const_defined?(:TaintExt)
6
8
 
7
9
  class TCRubyDataSource < Minitest::Test
8
10
  def setup
@@ -2,7 +2,9 @@ require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
2
2
 
3
3
  include TZInfo
4
4
 
5
- using TaintExt if Module.const_defined?(:TaintExt)
5
+ # Use send as a workaround for erroneous 'wrong number of arguments' errors with
6
+ # JRuby 9.0.5.0 when calling methods with Java implementations. See #114.
7
+ send(:using, TaintExt) if Module.const_defined?(:TaintExt)
6
8
 
7
9
  class TCTimezone < Minitest::Test
8
10
 
@@ -5,7 +5,9 @@ require 'tempfile'
5
5
 
6
6
  include TZInfo
7
7
 
8
- using RubyCoreSupport::UntaintExt if RubyCoreSupport.const_defined?(:UntaintExt)
8
+ # Use send as a workaround for erroneous 'wrong number of arguments' errors with
9
+ # JRuby 9.0.5.0 when calling methods with Java implementations. See #114.
10
+ send(:using, RubyCoreSupport::UntaintExt) if RubyCoreSupport.const_defined?(:UntaintExt)
9
11
 
10
12
  class TCZoneinfoTimezoneInfo < Minitest::Test
11
13
 
@@ -116,6 +116,10 @@ module Kernel
116
116
  end
117
117
 
118
118
  def assert_sub_process_returns(expected_lines, code, extra_load_path = [], required = ['tzinfo'])
119
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' && JRUBY_VERSION.start_with?('9.0.') && RbConfig::CONFIG['host_os'] =~ /mswin/
120
+ skip('JRuby 9.0 on Windows cannot handle writing to the IO instance returned by popen')
121
+ end
122
+
119
123
  ruby = File.join(RbConfig::CONFIG['bindir'],
120
124
  RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT'])
121
125
 
@@ -165,7 +169,7 @@ end
165
169
 
166
170
 
167
171
  # Object#taint is a deprecated no-op in Ruby 2.7 and outputs a warning. It will
168
- # be removed in 3.0. Silence the warning or supply a replacement.
172
+ # be removed in 3.2. Silence the warning or supply a replacement.
169
173
  if TZInfo::RubyCoreSupport.const_defined?(:UntaintExt)
170
174
  module TaintExt
171
175
  refine Object do
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'tzinfo'
3
- s.version = '1.2.6'
3
+ s.version = '1.2.7'
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 = 'http://tzinfo.github.io'
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.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Ross
@@ -29,7 +29,7 @@ cert_chain:
29
29
  J3Zn/kSTjTekiaspyGbczC3PUaeJNxr+yCvR4sk71Xmk/GaKKGOHedJ1uj/LAXrA
30
30
  MR0mpl7b8zCg0PFC1J73uw==
31
31
  -----END CERTIFICATE-----
32
- date: 2019-12-24 00:00:00.000000000 Z
32
+ date: 2020-04-02 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: thread_safe
@@ -161,7 +161,7 @@ files:
161
161
  - test/zoneinfo/zone.tab
162
162
  - test/zoneinfo/zone1970.tab
163
163
  - tzinfo.gemspec
164
- homepage: http://tzinfo.github.io
164
+ homepage: https://tzinfo.github.io
165
165
  licenses:
166
166
  - MIT
167
167
  metadata: {}
metadata.gz.sig CHANGED
Binary file